pointers
Home

 

char *p;
p = malloc(10);

in the above a pointer p is defined and space allocated.  p is the pointer or address in memory, while *p is the contents of that space.  In this case *p would equal p[0].