<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sygh</author_name>
  <author_url>https://blog.hatena.ne.jp/sygh/</author_url>
  <blog_title>syghの新フラグメント置き場</blog_title>
  <blog_url>https://sygh.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>C++</anon>
    <anon>Java</anon>
    <anon>プログラミングTips</anon>
  </categories>
  <description>C系言語の伝統的なswitch文 (switch statement) は、暗黙的なフォールスルーをし、各分岐を終了するにはbreak文を使います。 switch (x) { case 0: puts(&quot;case 0&quot;); break; // もしこの break 文がなかった場合はフォールスルーして、その次の case 1 ラベルが付与された文に到達する。 case 1: puts(&quot;case 1&quot;); break; case 2: // これも広義のフォールスルー。同じ文に対して複数のラベルを付けることができる。 case 3: puts(&quot;case 2 or 3&quot;); break; de…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsygh.hatenadiary.jp%2Fentry%2F2025%2F08%2F17%2F010407&quot; title=&quot;C系言語のswitch文に関する私見 - syghの新フラグメント置き場&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>2025-08-17 01:04:07</published>
  <title>C系言語のswitch文に関する私見</title>
  <type>rich</type>
  <url>https://sygh.hatenadiary.jp/entry/2025/08/17/010407</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
