What information must be supplied when writing a function with a default parameter list?

A. Variable names in the prototype.
B. Default values in the function header line.
C. Default values in the prototype.
D. Both A and C.


C. Default values in the prototype.

Computer Science & Information Technology

You might also like to view...

What does the diamond flowchart symbol represent?

(A) input/output (B) terminal (C) decision (D) connector (E) process

Computer Science & Information Technology

What is the output of the following program?

``` #include using namespace std; class TestClass { public: TestClass(int x) { cout << x << endl; } TestClass() { cout << "Hello!" << endl; } }; int main() { TestClass test; return 0; } ``` a. the program runs but there is no output. b. 0 c. Hello! d. the program will not compile

Computer Science & Information Technology

Inserting headings in long reports will make the reports too many pages, and should be avoided

Indicate whether the statement is true or false

Computer Science & Information Technology

The _____ function calculates the current date only.?

A. ?NOW B. ?CURRENT C. ?TODAY D. ?DATE

Computer Science & Information Technology