CBSE Class 11 Computer Science Question 20 of 80

Conditional and Looping Constructs — Question 3

Back to all questions
3
Question

Question 3

The symbol used to end the if statement:

  1. Semicolon (;)
  2. Hyphen ( - )
  3. Underscore ( _ )
  4. Colon (:)
Answer

Colon (:)

Reason — The symbol used to end the if statement is colon (:).