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

1. If an array is partially initialized, the uninitialized elements will be set to zero.
2. The following statement is a valid C++ definition:
double money[25.00];

3. Assume array1 and array2 are the names of two arrays. To assign the contents of array2 to array1, you would use the following statement:
array1 = array2;

4. A vector object automatically expands in size to accommodate the items stored in it.

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

Computer Science & Information Technology

You might also like to view...

You suspect that there are a number of deleted files that can still be salvaged in the unallocated space of a drive image. During which phase of the investigation would you use a data carving utility?

a. Examination b. Acquisition c. Identification/Assessment d. Analysis e. Reporting

Computer Science & Information Technology

Which of the following threat actors is MOST likely to steal a company’s proprietary information to gain a market edge and reduce time to market?

A. Competitor B. Hacktivist C. Insider D. Organized crime.

Computer Science & Information Technology