Which of the following statements about the syntax for the if-else statement is false?
A. The expression must be enclosed in parentheses.
B. The expression can have side-effects.
C. The if-else is terminated with a semicolon.
D. Both the true and false statements must be one and only one statement.
E. The true and false statements can be any valid C statement.
Answer: C
You might also like to view...
What will be output from the following code:
``` public void test 3 ( ) { for ( int x = 1 ; x < 1 0 ; x = x + 2) { System . out . println ( x ) ; } } ```
To enter text into the item in the accompanying figure, you must right-click it to make it active.
Answer the following statement true (T) or false (F)
________ are tables that are stored as building blocks
A) Easy Parts B) Quick Parts C) Quick Tables D) Easy Tables
What are color groups useful for?
What will be an ideal response?