<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cheaps_k</author_name>
  <author_url>https://blog.hatena.ne.jp/cheaps_k/</author_url>
  <blog_title>システムエンジニアの知恵袋</blog_title>
  <blog_url>https://cheaps.hateblo.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>C言語</anon>
  </categories>
  <description>さっそくですが問題です。 以下のCコードをビルドして実行すると、どうなるでしょう？ #include &lt;stdio.h&gt; #define ON (0U) #define OFF (1U) #define PRINT_HELLO_WORLD (OFF) int main(void) { #if ( PRlNT_HELLO_WORLD == ON ) printf(&quot;Hello World!&quot;); #endif return 0; } 「Hello World!」と表示される 何も表示されない ビルドエラーとなる 不定動作となる 正解は ・ ・ ・ 1. 「Hello World!」と表示されるで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcheaps.hateblo.jp%2Fentry%2F2019%2F04%2F09%2F225956&quot; title=&quot;C言語の#ifに潜む罠－未定義マクロの参照－ - システムエンジニアの知恵袋&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>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-04-09 22:59:56</published>
  <title>C言語の#ifに潜む罠－未定義マクロの参照－</title>
  <type>rich</type>
  <url>https://cheaps.hateblo.jp/entry/2019/04/09/225956</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
