Write the code to declare a dynamic array of strings (use the string pointer variable p1) that has as many elements as the variable arraySize.

What will be an ideal response?


p1 = new string[arraySize];

Computer Science & Information Technology

You might also like to view...

Which one of the following statements correctly declares a reference variable named values that can be used to reference an array of int?

a. int values[]; b. values[int]; c. int[] values; d. int [values];

Computer Science & Information Technology

In the accompanying figure, the EVENT TV text was created using the Type Area tool.

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

Computer Science & Information Technology

The accompanying figure shows an example of how to cite an online article using different style formats. Box 1 constitutes the _____ style format.

A. ?MLA B. ?APA C. ?URL D. ?http

Computer Science & Information Technology

In planning for disaster recovery, what is the ultimate goal?

a. The preservation of critical data. b. The continuation of business. c. The management of damage. d. The protection of infrastructure.

Computer Science & Information Technology