Solved

Assuming That Rectangle Is a Class Name, What Can You

Question 38

Multiple Choice

Assuming that Rectangle is a class name, what can you say is true, given the following statement?
Rectangle *BoxPtr;


A) The statement declares an object of the class Rectangle.
B) The statement assigns the value of *BoxPtr to the object Rectangle.
C) The statement defines a Rectangle pointer variable named *BoxPtr.
D) The statement is illegal in C++.
E) None of these

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions