Multiple Choice
What will the following program print on screen?
Int age = 40;
If (age = 40)
Printf("Happy Birthday!") ;
Else
Printf("Sorry") ;
A) Happy Birthday!
B) Sorry
C) Runtime error.
D) Nothing; the program will not compile.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q22: What will the following program print on
Q23: The compiler will, by default, associate an
Q24: The _ operator is used to change
Q25: Which of the following operators has right
Q26: When the _ operator is used with
Q28: Relational expressions are also known as _.<br>A)conditions<br>B)boolean
Q29: In a switch statement, the word _
Q30: In a switch statement, if the break
Q31: Generally, the most useful nested if statement
Q32: A nested if construction in which each