Very lost on pointers!

May 31, 2016 at 6:49pm
1
2
char a[10] = {'W','o','r','l','d','\0'};
char *p1 = a;

What is *a? What's the process behind it?
May 31, 2016 at 7:19pm
*a dereferences a, which is implicitly a[0], or 'W'.
Topic archived. No new replies allowed.