Vidyalelo
C Programming · Q62

C Fundamentals

Programming · C Programming · question 62

Q62

What will be the final value of j in the following C code? #include int main() int i = 10, j = 0; if (i || (j = i + 10)) //do something ;

A.
0
Answer
B.
20
C.
Compile time error
D.
Depends on language standard

Answer: Option A

Solution

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