编程论坛 » C语言论坛 » 关于printf函数.大家请看看.............
高级会员
查看详细资料
TOP
注册会员
/***************************************************************** ** HighlightCodeV3.0 software by yzfy(雨中飞燕) http://yzfy.org ** *****************************************************************/ #include <iostream.h> char *test(char *p) { char a[333]="I love you!"; p=a; return(p); } int main(void) { char *p, *q; p="there is a example"; //cout<<p<<endl; //注释和不注释这句试试看 q=test(p); cout<<q<<endl; return 0; }
金牌会员
查看个人网站
论坛元老