Answer the following statements true (T) or false (F)

1. It is legal to replace the prototype
double totalCost(int numberParam, double priceParam);
with the more terse, alternate form
double totalCost(int, double);
2. In C++ Boolean value are represented only with the int values 0 for false and 1 for true.
3. Extensive use of global variables is a satisfactory replacement for the difficulties of parameter passing with functions.
4. A variable declared outside any function is said to be a local variable.


1. True.
2. False.
3. False.
4. False.

Computer Science & Information Technology

You might also like to view...

All of the following are standards EXCEPT ____.

A. HTML B. WAI C. W3C D. XHTML

Computer Science & Information Technology

Conditional formatting makes data easier to interpret by inserting icons into the cells

Indicate whether the statement is true or false

Computer Science & Information Technology

One way to rename a worksheet tab is by ________

A) entering the new name in cell A1 of the worksheet B) entering the new name in the Name Box C) entering the new name in the formula bar D) clicking the Rename Sheet option of the Format button in the Cells group on the Home tab

Computer Science & Information Technology

?AnInfinityvalue is generated for an operation whose result is less than the smallest numeric value.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology