I have some troubles with char * (pointer to char)...
#1. Is the declaration
// codes
char* psz = "SAMPLE 1";
// end of codes
is equivalent to
// codes
char psz[] = "SAMPLE 1";
// end of codes
?
#2. And are the following codes bad ?
// codes
char* psz;
psz = "SAMPLE 2";
// end of codes
The second codes (#2) seem to write data on out-of-services area, don't they ?
Thanks in advance for your helps.
Regards.