Vidyalelo
C Programming · Q3

Control Structures

Programming · C Programming · question 3

Q3

What is the purpose of the 'else' statement in C's 'if-else' control structure?

A.
Execute the 'if' block
B.
Execute the 'else' block
Answer
C.
Execute both 'if' and 'else' blocks
D.
Skip the 'if' block

Answer: Option B

Solution

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