#include <stdio.h> int main () { int *p = NULL; int a = 0; p = &a; if(p){ printf("指针不为空"); } else{ printf("指针不为空"); p = &a; } return 0; }