69,369
社区成员
发帖
与我相关
我的任务
分享
if(*foo=0 || (void*)foo == (void*)&foo) {
cout<<"get through";
}
#include <stdio.h>
main(){
int d[10], d1[10];
int **p=&d;
*p=d1;
*(*p++)=0;
*p=&(*p++);
p= &d;
#define p (*p++)
if ((*p=0) || ((p)==&p))) printf("OK\n");
}
int main()
{
int foo[1];
if(*foo=0 || (void*)foo == (void*)&foo) {
cout<<"get through";
}
return 0;
}