C++ Questions 1.In a function prototype, in addition to the name of the function, you are required to furnish a. a data type for each parameter. b. the data type of the return value. c. an identifier...

C++ Questions 1.In a function prototype, in addition to the name of the function, you are required to furnish a. a data type for each parameter. b. the data type of the return value. c. an identifier name for each parameter. d. How many times it will be called. 2.In a function header, in addition to the name of the function, you are required to furnish a. the data type of the return value. b. a data type for each parameter. c. the namespace. d. an identifier name for each parameter. 3.When a function is overloaded it means that it... (select one or more answers) a. has too many parameters. b. calls other functions. c.does different things depending on who calls it. d. has the same name as another function. e. attempts to do too much in a single function. 4.When an argument is passed by reference it means that ... (check all that apply) a.The argument will be converted into a global variable. b. The argument will have a default value. c. Only the memory location of the variable is passed to the function. d. The function can change the value of the variable. 5.Which of the following function prototype(s) are correct. a. void setValue(int &value); b. void setValue(int &); c. void setValue(int value, int max=100); d. void setValue(int ++value); 6. T/F Calling an overloaded function can result in multiple values being returned to the caller. 7.A ____ function has ____ return value(s), but can have ____ parameter(s). Otherwise a function can return _____ value(s). 8.T/F Only variables can be passed as reference. 9.T/F When writing a C++ program you must be careful to arrange all the functions in the order in which they are called.
Nov 11, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here