A constant pointer is a pointer which points to a fixed memory location throughout.The question is how do you ensure that this behavior is ensured without using the keyword constant while declaring the pointer in a C program.
Implementing keyword const
c
In C, const isn't implemented.  It's a message to the compiler about whether to generate errors.  gcc compiles this:const char *cp = Hello;to.section    __TEXT,__cstring,cstring_literalsL_.str:                                 ## @.str    .asciz   Hello.section    __DATA,__data.globl  _cp                     ## @cp.align  3and this:char *cp = Hello;to the exact same this:.section    __TEXT,__cstring,cstring_literalsL_.str:                                 ## @.str    .asciz   Hello.section    __DATA,__data.globl  _cp                     ## @cp.align  3