{"image_url":null,"provider_name":"Hatena Blog","url":"https://sulpsulpc.hatenadiary.org/entry/20070927/1190904092","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsulpsulpc.hatenadiary.org%2Fentry%2F20070927%2F1190904092\" title=\"\u6761\u4ef6\u6f14\u7b97\u5f0f\u306e\u578b - \u3058\u3087\u301c\u3060\u3093\u306e\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>","categories":["C++"],"published":"2007-09-27 23:41:32","title":"\u6761\u4ef6\u6f14\u7b97\u5f0f\u306e\u578b","width":"100%","blog_title":"\u3058\u3087\u301c\u3060\u3093\u306e\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/sulpsulpc/","type":"rich","description":"C++\u3067\u306f\u3001\u7b2c2\u9805\u3068\u7b2c3\u9805\u306e\u578b\u304c\u540c\u3058\u3067\u5171\u306b\u5de6\u8fba\u5024\u3067\u3042\u308b\u306a\u3089\u6761\u4ef6\u6f14\u7b97\u5f0f\u306f\u3001\u5de6\u8fba\u5024\u3067\u3042\u308b\u3053\u3068\u306f\u3001\u6bd4\u8f03\u7684\u3088\u304f\u77e5\u3089\u308c\u3066\u3044\u308b\u3068\u601d\u3046\u304c\u3001 \u7b2c2\u9805\u3068\u7b2c3\u9805\u304c\u5171\u306b\u914d\u5217\u578b \u53c8\u306f \u95a2\u6570\u578b\u3067\u3042\u308b\u5834\u5408\u3001\u30dd\u30a4\u30f3\u30bf\u578b\u3078\u306e\u5909\u63db\u306f\u884c\u308f\u308c\u306a\u3044\u306e\u306d\u3002 \u5b8c\u5168\u306b\u898f\u683c\u3092\u898b\u843d\u3068\u3057\u3066\u3044\u305f\u3002 \u65e9\u901f\u3001 \u5b9f\u9a13 #include <stdio.h> int foo(void); int bar(void); int main() { int a[10],b[10]; printf(\"%u\\n\", sizeof(1?a:b)); // C++\u3067\u306fsizeof(int[10])\u3001C\u3067\u306fsizeof(int*)\u306e\u306f\u305a printf(\"%u\\n\", si\u2026","author_name":"sulpsulpc","blog_url":"https://sulpsulpc.hatenadiary.org/","version":"1.0","provider_url":"https://hatena.blog","height":"190"}