Physics · C Programming Language
Which of the following statements is NOT true about the if-else statement in C?
- 1An if-else statement cannot be nested inside another if-else statement.✓
- 2If a condition is true, it evaluates to 1, and if false, it evaluates to 0.
- 3An 'if' need not always be associated with an 'else'. However, an 'else' must always be associated with an 'if'.
- 4The default scope of an if or else statement is only the single next statement. To execute multiple statements, they must be enclosed in braces.
Correct answer
An if-else statement cannot be nested inside another if-else statement.
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Physics?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on C Programming Language?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Physics · C Programming Language