Question discussion

What does the if statement do?

359074Medium DSSSB TGT Computer Science 0 replies 0 views
0
What does the if statement do?
  • AHolds address of a variable
  • BAssigns value to a variable
  • CIs used to make decisions based on its condition
  • DIterates through a block of code multiple times until its condition is true
Correct answer: C

Explanation

The if statement is a decision-making statement that executes code based on a condition.

Discussion 0

Nobody has replied yet. Start the discussion!