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
Q31: The _ operator is used to change
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
Q37: 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 _
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