Vidyalelo
C Programming · Q278

C Fundamentals

Programming · C Programming · question 278

Q278

What will be the output of the following C code? #include int main() int p = 10, q = 20, r; if (r = p = 5 || q > 20) printf("%d", r); else printf("No Output ");

A.
1
Answer
B.
10
C.
20
D.
No Output

Answer: Option A

Solution

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