char *pointer=“abc” sets pointer to the address of the “abc” string (which may be stored in read-only memory and thus unchangeable
Please explain meaning of this…
char *pointer=“abc” sets pointer to the address of the “abc” string (which may be stored in read-only memory and thus unchangeable
Please explain meaning of this…
The pointer variable stores the address of the string which is nothing but a character array.
The pointer variable is read only and its value can not be changed as the memory where the array has to be stored is decided by the system only and the user cannot modify it.