Question
Which of the following statements are correct about an if-else statements in a C-program?
Which of the following statements are correct about an if-else statements in a C-program?
1: Every if-else statement can be replaced by an equivalent statements using ?: operators
2: Nested if-else statements are allowed.
3: Multiple statements in an if block are allowed.
4: Multiple statements in an else block are allowed.
Answer: Option D
Was this answer helpful ?
No answer description available for this question.
Was this answer helpful ?
Submit Solution