<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atani</author_name>
  <author_url>https://blog.hatena.ne.jp/atani/</author_url>
  <blog_title>tec memo</blog_title>
  <blog_url>https://atani.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>ポインタ変数は宣言直後はでたらめな値が格納されているので、このまま利用するのはバグとなり危険。 これを防ぐために、アドレスを代入したかどうかを区別する必要がある。 NULL をポインタ変数に代入しておくことで、区別をつけることができる。 書き方 int *p = NULL; サンプル 1 #include &lt;stdio.h&gt; 2 3 int main(void) 4 { 5 int *p = NULL; 6 if (! p) { 7 printf(&quot;p = Null\n&quot;); 8 } 9 int i; 10 p = &amp;i; 11 if (p) { 12 printf(&quot;p = Not null…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatani.hateblo.jp%2Fentry%2F2016%2F04%2F10%2F172507&quot; title=&quot;C言語: NULLポイント - tec memo&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-04-10 17:25:07</published>
  <title>C言語: NULLポイント</title>
  <type>rich</type>
  <url>https://atani.hateblo.jp/entry/2016/04/10/172507</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
