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.


Answer: A

Computer Science & Information Technology

You might also like to view...

Because ____ files are supported by virtually all paint, image-editing, and page-layout applications, it also is a versatile format for cross-platform applications.

a. PSD b. TIFF c. HTTP d. PHO

Computer Science & Information Technology

In a ____ relationship, +25% lag time pushes the second task forward in time.

A. Start-to-Finish B. Finish-to-Start C. Either A or B D. Neither A nor B

Computer Science & Information Technology

The ________ feature is a folder option that displays a checkmark in a check box to the left of a selected folder or file

A) Checkmark B) Pick C) Select D) Check box

Computer Science & Information Technology

Although NSFNET offered connectivity to academic researches, it was much slower than the newer CSNET.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology