Question: Data Structures using C++ Here is the start of a class declaration: class ClassA { public: void func1(const ClassA& a); void func2(const ClassA& a) const;

Data Structures using C++

Here is the start of a class declaration:

class ClassA

{

public:

void func1(const ClassA& a);

void func2(const ClassA& a) const;

void func3(ClassA a) const;

...

Which of the three member functions can alter the private member variables of the ClassA object that activates the function?

A. None of the three functions.

B. Only func1

C. Only func2

D. Only func3

E. Only two of the three functions

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!