← 返回列表

NULL (空)指针

NULL (空)指针 #include <stdio.h> int main () { int *ptr = NULL; printf("The value of ptr is : %x\n", ptr ); return 0; }

NULL (空)指针

#include <stdio.h>



int main () {



   int  *ptr = NULL;



   printf("The value of ptr is : %x\n", ptr  );



   return 0;

}

打开资源 ↗

交流与评论