Vidyalelo
C Programming · Q119

Control Structures

Programming · C Programming · question 119

Q119

Which of the following is an invalid if-else statement?

A.
if (if (a == 1)){}
Answer
B.
if (func1 (a)){}
C.
if (a){}
D.
if ((char) a){}

Answer: Option A

Solution

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