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 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
Get step-by-step solutions from verified subject matter experts
