#include<iostream>
using namespace std;
void fun(int x=3,int y=5,int z=7)
{
cout<<"x="<<x<<",y="<<y<<",z="<<z<<endl;
}
int main()
{
fun(1,2,3);
fun(1,2);
fun(1);
fun();
return 0;
}

posted on 2017-05-01 11:25  可馨517  阅读(219)  评论(0编辑  收藏  举报