Vidyalelo
C Programming · Q67

Control Structures

Programming · C Programming · question 67

Q67

What will be the output of the following C code? #include int main() int x = 0; if (x == 1) if (x == 0) printf("inside if "); else printf("inside else if "); else printf("inside else ");

A.
inside if
B.
inside else if
C.
inside else
Answer
D.
compile time error

Answer: Option C

Solution

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