string - What is the difference between char s[] and char *s in C? - Stack Overflow
In C, I can do like this: char s[] = "hello"; or char *s = "hello"; So I wonder what is the difference? I want to know what actually happens in memory allocation during compile time and ......