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
Sterilisation Culture Media and Pure Culture MCQ Questions Pdf More
Immunology Multiple Choice Questions and Answers Pdf More
Immunology Question Bank with Answers Pdf More
Immunology MCQ Questions and Answers Pdf More
Industrial Microbiology Questions and Answers Pdf More
100+ Linux Administration MCQ, Quiz Questions and Answers Pdf More
General Scientific Laws Inventions and Discoveries in Physics Pdf More
100+ General Knowledge Questions on Health and Hygiene More
Samacheer Kalvi 7th Science Is Matter Around Us Questions More
Sentence Completion Questions with Answers for Infosys More