1.

What will be the output of the following C code?#include <stdio.h> int main() { int p = 4; int q = p == 3 ? getchar(): 3; printf("%d n", q); }

A. Compilation Error
B. 4
C. 3
D. Whatever character getchar function returns
E. Ascii value of character getchar function returns
Answer» F.


Discussion

No Comment Found

Related MCQs