Solved

What Will the Following Program Print on Screen

Question 27

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:

verifed

Verified

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

Related Questions