The statement int *ptr = new int;
A) results in a compiler error.
B) assigns an integer less than 32767 to the variable named ptr.
C) assigns an address to the variable named ptr.
D) creates a new pointer named int.
E) None of these
Correct Answer:
Verified
Q15: A pointer can be used as a
Q25: What will the following code output? int
Q25: What will the following code output? int
Q26: What will the following code output? int
Q27: If a variable uses more than one
Q28: Look at the following code:
Q30: A pointer variable may be initialized with
A)
Q34: A pointer with the value 0 (zero)
Q37: An array name is a pointer constant
Q39: Which statement displays the address of the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents