C Programming Viva Questions and Answers Pdf - 1
Question: 1
A single character input from the keyboard can be obtained by using the function
(A) printf()
(B) scanf()
(C) getchar()
(D) putchar()
Ans: C
getchar()
Question: 2
A program can be terminated at any time by calling the function
(A) clearer()
(B) exit()
(C) fflush()
(D) ferror()
Ans: B
exit()
Question: 3
The math library is set up for the used by the file
(A) math.h
(B) time.h
(C) limits.h
(D) float.h
Ans: A
math.h
Question: 4
A pointer is a variable to which
(A) the address of another variable is assigned
(B) the point type of data is assigned
(C) an integer is assigned
(D) all of these
Ans: A
the address of another variable is assigned
Question: 5
The flag is used in the conversion specification to print
(A) a number with right justification in a field
(B) a number with left justification in a field
(C) a number in the hexadecimal system
(D) an integer with a sign
Ans: D
an integer with a sign
- Top 150+ OOPS Quiz Questions and Answers
- C Language Quiz Questions and Answers
- C Language Multiple Choice Questions and Answers
- C Language Objective Questions and Answers
- Top 150+ C Objective Questions and Answers
- C Multiple Choice Questions and Answers
- Top 150+ C Language Online Test
- Top 1000+ C Language MCQ Questions and Answers
- C Programming Viva Questions and Answers Pdf
NEET Acoustics MCQ Questions and Answers Pdf More
Thermal Physics Questions and Answers Pdf More
NEET Quiz Physics 2026-2027 More
Nuclei and Atoms Physics NEET Questions Pdf More
NEET Questions with Answers Physics More
Samacheer Kalvi 7th Civics Market and Consumer Protection Act More
Best Computer Notes for Competitive Exams Pdf More
Online Computer Quiz Questions Free More
100+ Blood Relation Online Test More
Basic Computer Fundamentals Online Test More