Question: A structure variable is similar to a class object in which of the following ways? It has member data that is usually private and accessed
A structure variable is similar to a class object in which of the following ways?
It has member data that is usually private and accessed through public member functions.
Its data can be initialized with a constructor.
It can be passed to a function or returned from a function.
All of the above.
B and but not A
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
