C
chip
char *getdata(char *str)
{
char buffer[200];
sprintf( buffer, "We are here %s", str );
return (str);
}
Can one call this function and use the buffer returned or is this illegal ?
Regards,
-chip
{
char buffer[200];
sprintf( buffer, "We are here %s", str );
return (str);
}
Can one call this function and use the buffer returned or is this illegal ?
Regards,
-chip