What is the primary use of the if-else statement in C language?
C भाषा में if-else स्टेटमेंट का प्राथमिक उपयोग क्या है?
A
To define a loop structure
B
To execute one block of code if a condition is true and another if it is false
C
To declare variables
D
To terminate a program
Explanation
Correct Answer: B) To execute one block of code if a condition is true and another if it is false