what is difference between constant pointer and pointer pointing to constant?
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.