概念性问题。请考虑以下代码:
#include<stdio.h>
int brasa(int, float);
int brasa(int, int);
float brasa(int, int);
int main(){
return 0;
}
编译器出现以下错误:
Line 4: error: conflicting types for 'brasa'
Line 3: note: previous declaration of 'brasa' was here
Line 5: error: conflicting types for 'brasa'
Line 3: note: previous declaration of 'brasa' was here
那是什么消息? 另一个概念性问题:三个声明 all 是否声明了相同的函数?