What will be the output of the following C code?
#include <stdio.h>
printf("%d", sizeof('a'));
#include <stdio.h>
printf("%d", sizeof('a'));
A. 1
B. 2
C. 4
D. None of the mentioned
Answer: Option C
Related Questions on Operators and Expressions
What does the ++ operator do in C when applied to a variable?
A. Decrements by 1
B. Adds 1
C. Doubles the value
D. Leaves it unchanged
Join The Discussion