Multiple Choice
The following statement __________ int *ptr = new int;
A) results in a compiler error
B) assigns an integer less than 32767 to the variable ptr
C) assigns an address to the variable ptr
D) creates a new pointer named int
E) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q11: What will the following code output?<br>Int number
Q15: A function may return a pointer but
Q16: Select all that apply. Of the following,
Q18: In C++11, the nullptr keyword was introduced
Q19: C++ does not perform array bounds checking,
Q21: Not all arithmetic operations can be performed
Q22: After the code shown executes, which of
Q23: In C++11 you can use smart pointers
Q24: When you work with a dereferenced pointer,
Q25: If a variable uses more than one