{"author_url":"https://blog.hatena.ne.jp/atani/","title":"C\u8a00\u8a9e: NULL\u30dd\u30a4\u30f3\u30c8","blog_url":"https://atani.hateblo.jp/","width":"100%","version":"1.0","height":"190","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","author_name":"atani","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatani.hateblo.jp%2Fentry%2F2016%2F04%2F10%2F172507\" title=\"C\u8a00\u8a9e: NULL\u30dd\u30a4\u30f3\u30c8 - tec memo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://atani.hateblo.jp/entry/2016/04/10/172507","image_url":null,"blog_title":"tec memo","description":"\u30dd\u30a4\u30f3\u30bf\u5909\u6570\u306f\u5ba3\u8a00\u76f4\u5f8c\u306f\u3067\u305f\u3089\u3081\u306a\u5024\u304c\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u306e\u307e\u307e\u5229\u7528\u3059\u308b\u306e\u306f\u30d0\u30b0\u3068\u306a\u308a\u5371\u967a\u3002 \u3053\u308c\u3092\u9632\u3050\u305f\u3081\u306b\u3001\u30a2\u30c9\u30ec\u30b9\u3092\u4ee3\u5165\u3057\u305f\u304b\u3069\u3046\u304b\u3092\u533a\u5225\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002 NULL \u3092\u30dd\u30a4\u30f3\u30bf\u5909\u6570\u306b\u4ee3\u5165\u3057\u3066\u304a\u304f\u3053\u3068\u3067\u3001\u533a\u5225\u3092\u3064\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002 \u66f8\u304d\u65b9 int *p = NULL; \u30b5\u30f3\u30d7\u30eb 1 #include <stdio.h> 2 3 int main(void) 4 { 5 int *p = NULL; 6 if (! p) { 7 printf(\"p = Null\\n\"); 8 } 9 int i; 10 p = &i; 11 if (p) { 12 printf(\"p = Not null\u2026","type":"rich","published":"2016-04-10 17:25:07"}