Question: A structure variable is similar to a class object in which of the following ways? a . all of these. b . It can be
A structure variable is similar to a class object in which of the following ways?
a all of these.
b It can be passed to a function or returned from a function.
c It has member data that is usually private and accessed through public member functions.
d Its data can be initialized with a constructor.
e Its data can be initialized with a constructor and it can be passed to a function or returned from a function, but not It has member data that is usually private and accessed through public member functions.
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
