//如果错误提示中有\243 \254的错误,说明写了中文符号
#include <stdio.h>
#include <stdlib.h>
/void buyrice()
{
printf(“去买米\n”):
}/
void buyrice2(int jinshu)
{
printf(“买了%d…\n”,jinshu);
}
void printwelcome()
{
printf("…\n");
}
int main()
{
int a=1;
int b=2;
printwelcome();
buyrice2(a);
buyrice2(b);
buyrice2(3);
buyrice2(4);
system(“pause”);
return 0;
}
3.3函数无返回值参数
最新推荐文章于 2023-01-25 11:17:13 发布