Question: -16. Given the following declarations .. struct mystruct { int float b; char ch; a; mystruct() { a = 0; b = 5; ch =

 -16. Given the following declarations .. struct mystruct { int float

-16. Given the following declarations .. struct mystruct { int float b; char ch; a; mystruct() { a = 0; b = 5; ch = 'x'; } void seta() { a = 22; } }; and the following declaration ... mystruct mine; ... what value does the constructor assign to 'mine.a'? a. 3 b. 5 C. 22 d. 0 e. None of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!