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

1. The following code declares a vector of characters.
vector characters
2. The following code declares a vector of integers named numbers that reserves space for 100 integers. vector numbers(100);
3. Vectors can have any type as the base type
4. Vectors and arrays are the same data type.
5. Using the == operator on a string variable results in the same value as using strcmp on two c-strings.

1. FALSE
2. TRUE
3. TRUE
4. FALSE
5. FALSE

Computer Science & Information Technology

You might also like to view...

Click a(n) ________ of a table to select the entire table

Fill in the blank(s) with correct word

Computer Science & Information Technology

The Where clause of an SQL statement specifies __________.

a. the location of the database being queried b. which fields are to be displayed c. specifies the order in which the rows should appear d. specifies which rows should be retrieved

Computer Science & Information Technology