Question: If foo is an abstract class in a C++ program, why is it acceptable to declare variables of type foo*, but not of type foo?
If foo is an abstract class in a C++ program, why is it acceptable to declare variables of type foo*, but not of type foo?
Step by Step Solution
3.26 Rating (161 Votes )
There are 3 Steps involved in it
A variables type determines the values that the variable can have and the operat... View full answer
Get step-by-step solutions from verified subject matter experts
