腾讯笔试题

复制代码
 1 #include <iostream>
 2 
 3 using namespace std;
 4 void hello(int a ,int b=7,char* pszC="*")
 5 {
 6     cout<<"hello";
 7 }
 8 
 9 int main()
10 {
11   // hello(5);
12   // hello(5,8);
13    hello(6,"#"); //报错
14   //hello(0,0,"#");
15     return 0;
16 }
复制代码

 

posted on   daocaorendeshijie  阅读(90)  评论(0编辑  收藏  举报

努力加载评论中...

导航

点击右上角即可分享
微信分享提示