Assuming that the pointer variable p1 is of the correct type and size is an integer with some value > 1, which of the following declarations are legal?

a. p1 = new string[size];
b. p1 = new ifstream[size];
c. p1 = new char[size*size];
d. A and B
e. A, B and C


e. A, B and C

Computer Science & Information Technology

You might also like to view...

A(n) ________ file maintains the formatting of your file, regardless of what type of computer on which the file is open

A) DOCX B) XLSX C) PPTX D) PDF

Computer Science & Information Technology

The SQL statement: ____________________ * FROM ApprovedTravelRequests is a query statement that requests that the entire table named ApprovedTravelRequests is opened for use by the application.

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

Computer Science & Information Technology

Which conditional formatting option isĀ notĀ found in the Quick Analysis Gallery?

A. Text Contains B. Duplicate Values C. Unique Values D. Undo Format

Computer Science & Information Technology

What did the method getCurrentSize return?

a. The value of DEFAULT_CAPACITY b. The value stored in maxItems c. The ID of the most recently added element d. The value stored in itemCount

Computer Science & Information Technology