#include <stdio.h>int fun(char *s){ char *p=s; while(*p!=0) p++;}main()printf("%d\n,fun("goodbey!"));}
收起
fun没有返回值,输出值不确定,跟编译器有关了。
报告相同问题?