编辑代码

#include <stdio.h>
int main () {

    itn *p = NULL;
    int a = 0;
   	if(p){
			printf("指针为空");
            p = &a;
	}

    if(p){
			printf("指针不为空");
            p = &a;
	}
	
	return 0;
}