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

1. An individual array element can be processed like any other type of C++ variable.
2. In C++11 you cannot use a range-based for loop to modify the contents of an array unless you declare the range variable as a reference variable.
3. In C++11 the range-based for loop is best used in situations where you need the element subscript for some purpose.
4. Although two-dimensional arrays are a novel idea, there is no known way to pass one to a function.
5. Each individual element of an array can be accessed by the array name and the element subscript.

1. T
2. T
3. F
4. F
5. T

Computer Science & Information Technology

You might also like to view...

SUM, AVG, MIN, and MAX are examples of ________ functions

Fill in the blank(s) with correct word

Computer Science & Information Technology

When you use the data in a workbook to add records to a database table, the columns in the worksheet ____.

A. must be the same as the fields in the database B. must contain the same type of data C. both a. and b. D. neither a. nor b.

Computer Science & Information Technology