M
Mike Copeland
How do I distinguish a pointer to a character variable versus a
pointer to a C-type character string? For example,
void Funct1(char *str) // "str" is a character string variable
void Funct2(char *chr) // "chr" is a single character variable
In both cases, I wish to modify the parameter argument, but it seems
to me they are really different data types.
Also, is there any way to _override_ the declaration of a function
with these 2 distinctive data types? Please advise. TIA
pointer to a C-type character string? For example,
void Funct1(char *str) // "str" is a character string variable
void Funct2(char *chr) // "chr" is a single character variable
In both cases, I wish to modify the parameter argument, but it seems
to me they are really different data types.
Also, is there any way to _override_ the declaration of a function
with these 2 distinctive data types? Please advise. TIA