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


c. const

Computer Science & Information Technology

You might also like to view...

Explain what a call to super() does in a constructor of a derived class.

What will be an ideal response?

Computer Science & Information Technology

A reverse proxy acts as a stand-in for a ____.

A. packet filter B. firewall C. proxy server D. Web-server

Computer Science & Information Technology

Why would someone say that TCP/IP scales well? Using general terms, elaborate on this statement.

What will be an ideal response?

Computer Science & Information Technology

A(n) ____ key is a field in one table whose values are required to match the primary key of another table.

A. alternate B. foreign C. candidate D. relational

Computer Science & Information Technology