Question: Object oriented programming in C/C++ questions. Need help solving. Consider the class and struct definitions below and choose the correct statement struct mystruct int i
Consider the class and struct definitions below and choose the correct statement struct mystruct int i double d; class myClass int i double di mystruct ai a.i3 myclass bi O The code will not compile since there is struct and a class declaration in the same program The code will compile O The code will not compile since a private member of a class is being accessed outside the class 0 The code wil not compile snce the cas does not have an accessr ftinction for a private member variable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
