What do the calls to exit(…) do? When exit(0) and exit(1) are called, what receives these arguments and what is done with them?

a) The exit( ) function stops the program. The argument is discarded.
b) The exit( ) function is obsolete. There is no longer any such function in the
C++ libraries.
c) The exit( ) function stops the program. The argument is passed to the
operating system which uses it for an error code.
d) The exit( ) function temporarily stops the program, and sends the argument to
the operating system which uses it for an error code. The operating system restarts
the program after fixing the error.
e) The exit( ) function allows the systems programmer to escape when the
power supply catches fire.

c) The exit( ) function stops the program. The argument is passed to the
operating system which uses it for an error code.

Computer Science & Information Technology

You might also like to view...

The Offset Top spin box adjusts the border size

Indicate whether the statement is true or false

Computer Science & Information Technology

The default storage location to which a Word document will be saved (unless you specify otherwise) is:

A) a flash drive (if connected). B) SkyDrive. C) the Desktop. D) the Documents folder.

Computer Science & Information Technology