Multiple Choice
What will the following program print on screen?
Int tenure = -5;
If (tenure + 5)
Printf("Congratulations!") ;
Else
Printf("Sorry") ;
A) Congratulations!
B) Sorry
C) Runtime error.
D) Nothing; the program will not compile.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q33: One of the main disadvantages of using
Q34: A _ statement is one or more
Q35: In C any expression can be tested
Q36: The following statement prints "You lose!" on
Q37: The expression:<br> (6 * 3 == 36
Q39: In C, character data cannot be compared
Q40: What will the following program print on
Q41: The ! operator is an unary operator.
Q42: If you inadvertently use an assignment symbol,
Q43: The && operator has a right-to-left associativity.