自考新教材-p58_3(1)

源程序:

#include <iostream>
using namespace std;
void func(int a, int b, int c = 0)
{
cout << a << b << c << endl;
}
int main()
{
func(5,9);
system("pause");
return 1;
}

运行结果:

 

posted @ 2020-02-06 13:57  bobo哥  阅读(116)  评论(0编辑  收藏  举报