[ fromfile: classes-questions.xml id: classes-questions ]
What is the main advantage of using a struct?
Describe at least one difference between a class and a struct.
How does class scope differ from block scope?
Describe two situations where it is OK to use friend functions.
How does a static data member differ from a non-static data member?
What is the difference between a static member function and a non-static member function?
What does it mean to declare a member function to be const?
Explain what would happen (and why) if a class T had a copy constructor with the following prototype?
T::T(T other);
| Generated: $Date: 2009-09-08 12:15:32 -0400 (Tue, 08 Sep 2009) $ | © 2009 Alan Ezust and Paul Ezust. |