<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>philojuan</author_name>
  <author_url>https://blog.hatena.ne.jp/philojuan/</author_url>
  <blog_title>恥は/dev/nullへ by 初心者</blog_title>
  <blog_url>https://uhoho.hatenablog.jp/</blog_url>
  <categories>
    <anon>C言語学習</anon>
  </categories>
  <description>以下のインデントがおかしなコードをご覧ください。 #include &lt;stdio.h&gt; int main(void) { int a, b; a = 1; b = 0; if (a) if (b) printf(&quot;aもbも真アルよ&quot;); else printf(&quot;aは真だけどbは偽アルよ&quot;); return 0; } printf文の中に記述した文言を読んでしまうと答えがバレバレですが、このコードにおいてelseはどちらのifに対応するのかと聞かれるとちょっと迷いますよね。 書籍によると、同じブロックで「どのelseとも対応していない」「最も近いif」に対応するそうです。上のコードでは if(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuhoho.hatenablog.jp%2Fentry%2F2020%2F07%2F31%2F054735&quot; title=&quot;このelseの相手はだ～れ？ - 恥は/dev/nullへ by 初心者&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>2020-07-31 05:47:35</published>
  <title>このelseの相手はだ～れ？</title>
  <type>rich</type>
  <url>https://uhoho.hatenablog.jp/entry/2020/07/31/054735</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
