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;这三种表示方法有以下图解。3.构造函数没有返回类型,构造函数与析构函数都没有返回值类型。
mian函数正常结束后的返回值为0.
相关文章:
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;这三种表示方法有以下图解。3.构造函数没有返回类型,构造函数与析构函数都没有返回值类型。
mian函数正常结束后的返回值为0.
相关文章: