[c] Using pointer to char array, values in that array can be accessed?