Advertisements
Advertisements
Question
if statement is also called as a conditional statement.
Options
True
False
MCQ
True or False
Solution
This statement is True.
Explanation:
The if statement is used to run a piece of code only when a specific condition is met. In programming, it is known as a conditional statement since it is dependent on a condition.
shaalaa.com
Is there an error in this question or solution?