// 程序二义性.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include <iostream>
using namespace std;
void f(int x)
{
cout << "---" << x << endl;
}
void f(int x,int y=10)
{
cout << "++++" << x << endl;
}
int main()
{
f(10);
std::cout << "Hello World!\n";
}



1637

被折叠的 条评论
为什么被折叠?



