{"height":"190","provider_url":"https://hatena.blog","author_name":"toburau","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20120329%2F1333037030\" title=\"switch\u5185\u306b\u3042\u308bif\u6587\u306e\u30d6\u30ed\u30c3\u30af\u304c\u58ca\u308c\u3066\u3044\u305f\u3068\u304d\u306e\u52d5\u4f5c - \u30b2\u30fc\u30e0\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u304c\u3093\u3070\u308b\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2012-03-29 01:03:50","description":"http://www.reddit.com/r/programming/comments/rhbss/c_switch_with_broken_if_why_does_this_work/:tiltle \u3068\u304d\u3069\u304d\u306e\u96d1\u8a18\u5e16\u3067\u7d39\u4ecb\u3055\u308c\u3066\u3044\u305f\u30b3\u30fc\u30c9\u3002C code - 20 lines - codepad #include <stdio.h> void main(void) { int a = 2; int b = 0; switch(a) { case 1: if(b==1) { puts(\"a\"); break; case 2: puts(\"b\"); break; default: puts(\"c\u2026","type":"rich","version":"1.0","categories":["\u30a6\u30a7\u30d6"],"blog_title":"\u30b2\u30fc\u30e0\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u304c\u3093\u3070\u308b\u65e5\u8a18","provider_name":"Hatena Blog","width":"100%","author_url":"https://blog.hatena.ne.jp/toburau/","url":"https://toburau.hatenablog.jp/entry/20120329/1333037030","image_url":null,"blog_url":"https://toburau.hatenablog.jp/","title":"switch\u5185\u306b\u3042\u308bif\u6587\u306e\u30d6\u30ed\u30c3\u30af\u304c\u58ca\u308c\u3066\u3044\u305f\u3068\u304d\u306e\u52d5\u4f5c"}