求助这是return c,自定义text函数被运行两次
改成return 0就正常了,怎么办
int c=text(a1,a2,a3);printf("%d",c);text()函数里的printf()去掉
不关返回值的事,而是你在主函数里调用了两次text函数