Basic C Programming MCQ Questions and Answers
Practice ModeShowing 10 of 198 questions
Q181
For the previous question, which of the following macro-calls, will find the hypotenuse of a right angled triangle with sides a + 1 AND B + 1 ?
Answer: Option A
Q182
The statement printf ("%d", 10?0?25:11:12); prints
Answer: Option D
Q183
The statement printf ("%d", (a++)); prints
Answer: Option A
Q184
The statement printf ("%", ++5); prints
Answer: Option C
Q185
The statement printf ("%d", size of (" ")) ; prints
Answer: Option D
Q186
If p is a pointer to an integer an t is a pointer to a character then size of (p) will be
Answer: Option A
Q187
Which of the following comments about arrays and pointers is/are not true ?
Answer: Option
Q188
lint is
Answer: Option D
Q189
cb is a
Answer: Option A
Q190
It is not advisable to use macros instead of functions because
Answer: Option