M
MJ
hi
what is the difference between the following
const char * p ; // data is constant // Line 1
char * const p ; // pointer is constant // Line 2
but I have doubt in the following statement
char const *p ; // Line 3
As per my understanding the statement in line 1 and line 3 are same....
Please let me know if I am wrong ...
MJ
what is the difference between the following
const char * p ; // data is constant // Line 1
char * const p ; // pointer is constant // Line 2
but I have doubt in the following statement
char const *p ; // Line 3
As per my understanding the statement in line 1 and line 3 are same....
Please let me know if I am wrong ...
MJ