69,371
社区成员
发帖
与我相关
我的任务
分享
int main(void){
const char *firstday = NULL;
const char *seconday = NULL;
printf("%x, %x\n", &firstday, &seconday);
return 0;
}
int main(void){
const char *firstday = NULL;
const char *seconday = NULL;
printf("%x, %x\n", firstday, seconday);
return 0;
}
#include<stdio.h>
int main()
{
char *firstday ;
char *seconday ;
printf("%x,%x\n",firstday,seconday);//指针指向内容的地址,指向空也是有内存地址的吧,只不过是随机地址而已
printf("%x,%x\n",&firstday,&seconday);//指针本身的地址
system("pause");
return 0;
}