character arrays in C

view full story

http://www.linuxquestions.org – I was reading Kernighan Ritchie book chapter 4 which deals with character pointers. I am not able to understand following different type of declarations Code: char aname[][15] = { "Illegal month", "Jan", "Feb", "Mar" }; char amessage[] = "now is the time"; char *name[] = { "Illegal month", "Jan", "Feb", "Mar" }; What is the difference between these three? (HowTos)