terminates
and
cause it to return the value 0 to the calling process. For most operating
systems, a return value of 0 signifies that the program is terminating normally.
is one of C++ keywords, and it is used to return a
value from a function. It will be discussed later in more details. For now your
programs should return 0 when they terminate normally.
The closing curly brace } at the end of the program formally concludes the
program. Although the brace is not actually a apart of the object code of the
program, conceptually you can think of a C++ program ending when the closing
curly brace of
is executed. In fact, if the
statement were not part of this program , the
program would automatically end when the closing surly brace was encountered.