Answer the following questions true (T) or false (F)
1. To call a function with an array parameter, write the array argument as the array name followed by empty square brackets, as in f(a[], 7); (The first argument is an array a, the second is the size.)
2. Arrays in C++ may have several different types stored in them.
1. False
2. False
Explanation: The array must be declared using the name of the type that will be stored in them. Nothing else can be stored in that array. An attempt to store something else will result in an attempt by C++ to coerce the other type to the base type, but that is as far as you can go in putting another type into a C++ array.
You might also like to view...
Which of the following is an example of a logical test?
A) 6*8 B) =NOW( ) C) =SUM(B5:D5 ) D) D5 > 45
? Critical Thinking Questions Case 10-1 ? Sam has been asked to classify a number of different processing systems that his consultancy's client uses. Sam is analyzing a processing system and he has determined that it is an online processing system and not a batch processing system. Which of the following observations helped him determine the system??
A. ?The system allowing delays in transactions B. ?The system's tasks running on a predetermined schedule, without user involvement C. ?The system avoiding a constant dialog between the user and the system D. ?The system processing transactions completely when and where they occur
A(n) ____ is an item in a document that you name for future reference.
A. bookmark B. caption C. orphan D. gutter
What keyword is used to end a CASE statement?
a. CASE b. WHEN c. ELSE d. END