Is it possible to assign a value to a constant object and reassign a constant pointer?

b) Is it possible to assign a value to a constant object and reassign a constant pointer? Write a program that declares an int, a reference to an int, and a pointer to an int. Use the pointer and the reference to manipulate the value in the int.

Leave a Reply