請(qǐng)幫忙看下哪里有問題,一直運(yùn)行失敗
#include <stdio.h>
/* 考慮一下哪個(gè)輸出該用無參函數(shù)哪個(gè)輸出該用有參函數(shù)呢? */
int lerning()
{
? ? printf("%s\n","小明在慕課網(wǎng)學(xué)習(xí)");
? ? return 0;
}
int number(int n)
{
? ? printf("小明在慕課網(wǎng)上已經(jīng)參與學(xué)習(xí)了%d門課程",n);
? ? return 0;
}
int main()
{
? ? lerning();
? ? number(5);
? ? return 0;
}
2020-11-04
分號(hào)英文
2020-11-04
printf("%s\n","小明在慕課網(wǎng)學(xué)習(xí)");分號(hào)
2020-11-03
有參函數(shù)吧