Vidyalelo
C Programming · Q227

C Fundamentals

Programming · C Programming · question 227

Q227

What will be the output of the following C code? #include void main() char a = 'a'; int x = (a % 10)++; printf("%d ", x);

A.
6
B.
Junk value
C.
Compile time error
Answer
D.
7

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board