Question: what is the difference between constant pointer and pointer to constant?
Answer: constant pointer means the pointer is not allowed to modify whereas in pointer to constant, pointer is allowed to modify but the value cannot be modified.