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...

A(n) ____ camera takes photographs or video footage by capturing images on an electronic image sensor.

A. OCR B. digital C. 3-D D. imaging

Computer Science & Information Technology

Unary operators have _______ associativity; binary operators have _______ associativity.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Map the COMPANY ER schema of Figure 7.2 into ODL classes. Include appropriate methods for each class.

What will be an ideal response?

Computer Science & Information Technology

A ____ edge is a blended edge.

A. soft B. feathered C. supple D. blurred

Computer Science & Information Technology