Multiple Choice
Since accessor functions in a class do not modify or mutate the data members of the object, the function should have the __________ modifier.
A) reference
B) friend
C) const
D) private
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: You cannot create new operators such as
Q3: How many members data and functions) does
Q4: If c is a character variable that
Q5: What member functions do you need to
Q6: Putting the keyword const after the function
Q7: All operators can be overloaded.
Q8: If a given task being performed by
Q9: How many parameters are there in a
Q10: If we have a full selection of
Q11: Why are the extraction and insertion operators