Question: Write the following pointer declarations that include a const qualification: 1. Write a declaration for a pointer to a constant object. Assume the object is
Write the following pointer declarations that include a const qualification:
1. Write a declaration for a pointer to a constant object. Assume the object is of type student.
2. Write a declaration for a constant pointer to a non-constant object. Again, assume the object is of type student.
3. Write a declaration for a constant pointer to a constant object. The object will again be of type student.
Step by Step Solution
3.51 Rating (158 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
