prev up next   top/contents search

comp.lang.c FAQ list · Question 8.5

Q: What is the difference between these initializations?

char a[] = "string literal";
char *p  = "string literal";
My program crashes if I try to assign a new value to p[i].


A: See question 1.32.


prev up next   contents search
about this FAQ list   about eskimo   search   feedback   copyright

Hosted by Eskimo North