I have learned that the traditional way of declaring a character array is as follows:
char c[] = "John";
However, I have also noticed that you can declare it as:
char *c = "John";
How exactly does this work? I know that it has something to do with pointers, but could someone please elaborate? Any help would be greatly appreciated.