int *fun(int*){}与int fun(int*){} 的区别在哪

int *fun(int*){}与int fun(int*){} 的区别在哪

1 个回答

赵云

提问:int *fun(int*){}与int fun(int*){} 的区别在哪

为啥‘int main()'报错,求解。

为啥‘int main()'报错,求解。

typedef int Info Type; typedef struct

typedef int Info Type; typedef struct

网友回答:

两个函数返回类型不同

typedef int Info Type; typedef struct

typedef int Info Type; typedef struct

前者,返回的是整形的指针

后者,返回的是整形

typedef int Info Type; typedef struct

typedef int Info Type; typedef struct

typedef int Info Type; typedef struct

typedef int Info Type; typedef struct

  • 1 关注
  • 0 收藏, 浏览
  • 提出于

相似问题