why do we have to declare a string like
char *x = "...";
or char x[] = "...";
?
also if i say char x[];
x[] = "..." it wont work why?
thanks
why do we have to declare a string like
char *x = "...";
or char x[] = "...";
?
also if i say char x[];
x[] = "..." it wont work why?
thanks