Hello. I need to make a pointer char
point to a memory location that holds a phrase, in C.
I'm doing this:
char *ptr;
char array[3] = {'o','l','a'};
ptr = &array;
But I do not understand what's wrong, I also do not know how to program in C. Can anyone help? And I can not use the string.h
library.