谁能告诉我这两者的不同之处? [英] who can tell me the differece of this two ?

查看:92
本文介绍了谁能告诉我这两者的不同之处?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这两个函数有什么区别:


int f1(int first []);

int f2(int * second);

Is there any differece of this two function:

int f1(int first[]);
int f2(int *second);

推荐答案

我们***** *@gmail.com 写道:

这两个函数有什么区别:

int f1(int first []);
int f2(int * second);

Is there any differece of this two function:

int f1(int first[]);
int f2(int *second);




两个函数属于同一类型。


-

pete



Both functions are of the same type.

--
pete


哦,谢谢,但我还是不知道为什么?

oh,Thank you,but i still do not know why ?


us******@gmail.com 写道:

哦,谢谢,但我还是不知道为什么?

oh,Thank you,but i still do not know why ?




功能类型根据退货类型

和参数的类型。

它们都返回int类型。

它们每个都有一个指向int的类型指针参数。

-

pete



Types of functions are according to the return type
and the type of the parameters.
They both return type int.
They each have one parameter of type pointer to int.
--
pete


这篇关于谁能告诉我这两者的不同之处?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆