In if statement, when does the indented statement get executed?
(a) Condition is true
(b) Condition is false
(c) Does not depend on condition
(d) None of these
Answer:
In an if statement, the indented statement gets executed when the mentioned condition is true.
So, the correct answer is (a).