Constant pointer and pointer to a constant
Expalin me about following statements
char * const ptr1="GOOOD";//constant pointer
int const * ptr2=&m; //pointer to a constant
What is difference between them?
I can't get these statements.
Please help me.
Thank you in advanced.
|