I have written a code like below
char *p = "Pointers";
p[2] = 'z';
printf ("%d\n",p);
This gives me erro. Can anyone explain me what is this.
I have written a code like below
char *p = "Pointers";
p[2] = 'z';
printf ("%d\n",p);
This gives me erro. Can anyone explain me what is this.