Vidyalelo
C Programming · Q141

C Fundamentals

Programming · C Programming · question 141

Q141

What will be the output of the following C code? #include int main() int i = 1; if (i++ && (i == 1)) printf("Yes "); else printf("No ");

A.
Yes
B.
No
Answer
C.
Depends on the compiler
D.
Depends on the standard

Answer: Option B

Solution

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