时间:2012-09-30 21:41:47
}
void swap(int a,int b)
{……}
补充:若果形参中有数组,则作原型声明时数组的中括号不能省略。
例如:float fun(double b[])
{ }
可以用以下方式原型声明:
float fun(double []);
float fun(double a[]);
而以下的声明方式是错误的:
电脑版 | 手机版 | 返回顶部