What will the following program print on screen?
Int tenure = -10;
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
Q32: Which of the following operators has right
Q33: A _ statement is one or more
Q34: What will the following program print on
Q35: What will the following program print on
Q36: What will the following program print on
Q38: The use of _ in a C
Q39: Including one or more if-else statements within
Q40: A _ statement is a specialized selection
Q41: In a switch statement, the word _
Q42: It is a good practice to terminate
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents