I want to create a string without knowing the exact dimension of it, is this correct or it will have unpredictable behavior?
char *p;
p="unknow string size";
If this is wrong, how i can create something similar, and modify it with string.h fucntion?
[edit]I read again the answer and it was not completly clear, my first doubt is: are those two codes equals?
char *p="unknow string size"
and
char *p;
p="unknow string size";