Question: C++ questions QUESTION 1 Structs usually have: (a) Data members (b) Member functions (c) Setters (d) Getters QUESTION 2 Why are classes useful? (a) They
C++ questions
QUESTION 1 Structs usually have:
(a) Data members (b) Member functions (c) Setters (d) Getters
QUESTION 2 Why are classes useful?
(a) They allow us to create many instances of the same object. (b) They contain information directly related to an object. (c) They allow us to keep members hidden from users of the class. (d) All of the above.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
