Solved

What Will the Following Program Print on Screen

Question 38

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions