{"author_url":"https://blog.hatena.ne.jp/mocomei/","description":"\u304a\u984c static\u5909\u6570\u3092\u4f7f\u3046 \u30d7\u30ed\u30b0\u30e9\u30e0\u6982\u8981 main\u51e6\u7406\u304b\u3089\u95a2\u6570f\u3092\u547c\u3073\u51fa\u3059\u3002 \u95a2\u6570f\u3067\u306fstatic\u306aint\u578b\u306e\u5909\u6570\u3092\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3057 \u8868\u793a\u3059\u308b\u3002 \u306a\u304a\u95a2\u6570\u547c\u3073\u51fa\u3057\u306f10\u56de\u884c\u308f\u308c\u308b \u30bd\u30fc\u30b9 #include <stdio.h> void f(void); int main(void) { int i; for (i = 0; i < 10; i++) f(); return 0; } void f(void) { static int count = 0; count++; printf(\"count: %d\\n\", count); } \u5b9f\u884c\u7d50\u679c count: 1 count: 2 cou\u2026","height":"190","width":"100%","author_name":"mocomei","categories":[],"image_url":null,"url":"https://mocomei.hatenablog.com/entry/2013/11/21/212843","type":"rich","provider_name":"Hatena Blog","blog_url":"https://mocomei.hatenablog.com/","title":"20131121\u3010C\u8a00\u8a9e\u3011static\u5909\u6570\u3092\u4f7f\u3046","published":"2013-11-21 21:28:43","blog_title":"365\u65e5\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30d6\u30ed\u30b0","provider_url":"https://hatena.blog","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmocomei.hatenablog.com%2Fentry%2F2013%2F11%2F21%2F212843\" title=\"20131121\u3010C\u8a00\u8a9e\u3011static\u5909\u6570\u3092\u4f7f\u3046 - 365\u65e5\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}