adplus-dvertising
frame-decoration

Question

What should be done to prevent changes that may be made to the values pointed by the pointer?

a.

Usual pointer can’t change the values pointed

b.

Pointer should be made virtual

c.

Pointer should be made anonymous

d.

Pointer should be made const

Answer: (d).Pointer should be made const

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What should be done to prevent changes that may be made to the values pointed by the pointer?