×

Loading...

which one is right?

guest (guest)
char * v()
{
char * p="result of function v()";
return p;
}

char * v()
{
char p[]="result of function v()";
return p;
}

char * v()
{
return "result of function v()";
}

which one is right? Or all of them are false.
what is the diffirence?
(#70734@0)
2001-5-15 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: which one is right?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论