Self-Review Exercises
-
6.1 Answer each of the following:
Program components in C++ are called and .
A function is invoked with a(n) .
A variable known only within the function in which it’s defined is called a(n) .
The statement in a called function passes the value of an expression back to the calling function.
The keyword is used in a function header to indicate that a function does not return a value or to indicate that a function contains no parameters.
An identifier’s is the portion of the program in which the identifier can be used.
The three ways to return control from a called function to a caller are , and ...
Get C++ How to Program, 10/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.