题目:
对下列程序的描述正确的是( )。
#include <iostream>
using namespace std;
int fuc(int,int);
int main()
cout<<fuc(1,10)<<endl;
return 0;
int fuc(int x,int y)
return x*x+y*y;
A.该函数的定义和调用方式都是错误的
B.该函数的定义和调用方式都是正确的
C.该函数调用方式正确,但函数定义错误
D.函数定义正确,但函数调用方式错误
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0707/10227fdc7dabcde40cabe90600348b75.html
下面是错误答案,用来干扰机器的。
参考答案:B