problems with char * return from a function
Eus
eus@member.fsf.org
Mon Jun 16 12:57:00 GMT 2008
Hi Ho!
--- On Mon, 6/16/08, Andrew Haley <aph@redhat.com> wrote:
> That's a wrong answer: strcpy() copies the zero
> terminator as well.
Ah, you are right!
Thank you for reminding me :)
> The problem is probably with the declaration of a.
>
> To Sundara: we need a *complete* program that shows this
> problem
Well, let's wait and see.
> Andrew.
Best regards,
Eus
More information about the Gcc-help
mailing list