Vidyalelo
C Programming · Q79

Control Structures

Programming · C Programming · question 79

Q79

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

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

Answer: Option A

Solution

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