1.在char *p=“hello”; return p="hello"中的返回值为1;而char p[]=“hello”;return p="hello"中的返回值为0;
2.int a[2][3];int (*p)[3]=a;int *q=*a;这三种表示方法有以下图解。
有关C/C++的一些总结3.构造函数没有返回类型,构造函数与析构函数都没有返回值类型。
mian函数正常结束后的返回值为0.

相关文章:

  • 2021-06-03
  • 2022-03-06
  • 2021-10-14
  • 2021-08-28
  • 2022-12-23
  • 2022-12-23
  • 2021-10-14
  • 2022-01-25
猜你喜欢
  • 2021-05-17
  • 2022-12-23
  • 2021-08-13
  • 2021-12-31
  • 2021-11-05
  • 2022-02-07
  • 2022-12-23
相关资源
相似解决方案