Question: Please, answer the questions in c++ Module 6: Working with Classes Questions Question1 Does a nonmember function have to be a friend to access a

Please, answer the questions in c++
Module 6: Working with Classes Questions Question1 Does a nonmember function have to be a friend to access a class's members? Question.2 What class methods does the compiler generate automatically if you don't provid,e them explicitly? Describe how these implicitly generated functions behave. Question 3 Identify and correct errors in the following class declaration class nifty ll data char personalityl: int talents l methods nifty0 nifty(char s); ostream & operator
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
