MCQs
Total Questions : 35
| Page 3 of 4 pages
Answer: Option A. -> 4, 4, 4
Answer: Option C. -> scr is a pointer to char.
Answer: Option B. -> 2
Due to the C language is being platform dependent:
In Turbo C (DOS - 16 bit platform), the output will be 2.
But in GCC (Unix/Linux - 32 bit platform), the output will be 4.
Answer: Option C. -> 2, 4, 4
Answer: Option B. -> argv is a pointer to a char pointer.
Answer: Option D. -> cmp is a pointer to a function which returns void .
Answer: Option B. -> f is a function returning pointer to an int.
Answer: Option D. -> void (*ptr)()
Answer: Option C. -> cmp is a function that return a void pointer.
Answer: Option C. -> float *(*ptr)(int*)