-
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);
}
-
- Compilation Error
- 4
- 3
- Whatever character getchar function returns
- Ascii value of character getchar function returns
Correct Option: E
Ascii value of character getchar function returns