class Foo
{
public:
Foo(int num);
void fun1(Foo f);
void fun2(const Foo f);
void fun3(Foo f) const;
...
}
Which of the member functions can alter the PRIVATE member
variables of the Foo object that activates the function?
Answer: Three of the functions can alter the private member variables of the object that activates the function.
Answer: To initialize the data members of an object as it is declared.
Answer: All of the above can access private member variables