Given that p1 is a pointer variable of the string class, which of the following are legal statements?
a. p1 = new int;
b. cout << *p1;
c. p1 = new char[10];
d. *p1 = new string;
e. B and D
b. cout << *p1;
Computer Science & Information Technology
You might also like to view...
The easiest way to keep two objects together so they move as one is to use the ___________________ property.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology
A motion path can be edited by clicking and dragging the ________ on the animation placeholder
Fill in the blank(s) with correct word
Computer Science & Information Technology
By default, shapes are designed with a simple blue border and no fill
Indicate whether the statement is true or false
Computer Science & Information Technology
The current cell mode, the page number, and the view and zoom buttons are displayed on the
A) Name Box. B) status bar. C) Formula Bar. D) range finder.
Computer Science & Information Technology