So this is a pretty basic question but it had me thinking so I guess I will go ahead and ask it
so with my code as the example below I created three strings and three pointers to the strings but I just used the first pointer and incremented it but I get weird results,I expected something different to my surprise when I incremented p1 the first time and dereferenced it,it printed out the second string then again I incremented the pointer and dereferenced it and it printed the next string
the reason why I am surprised is that the strings are not in an array,so shouldn't they be in different memory locations and not in contiguous locations like an array?