{"categories":[],"author_url":"https://blog.hatena.ne.jp/mocomei/","blog_title":"365\u65e5\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30d6\u30ed\u30b0","title":"20130907\u3010C\u8a00\u8a9e\u3011\u30b5\u30d6\u30eb\u30fc\u30c1\u30f3\u3078\u306e\u53c2\u7167\u6e21\u3057(call by reference)","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmocomei.hatenablog.com%2Fentry%2F2013%2F09%2F07%2F114958\" title=\"20130907\u3010C\u8a00\u8a9e\u3011\u30b5\u30d6\u30eb\u30fc\u30c1\u30f3\u3078\u306e\u53c2\u7167\u6e21\u3057(call by reference) - 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>","provider_url":"https://hatena.blog","url":"https://mocomei.hatenablog.com/entry/2013/09/07/114958","width":"100%","author_name":"mocomei","height":"190","blog_url":"https://mocomei.hatenablog.com/","version":"1.0","type":"rich","description":"\u304a\u984c \u30b5\u30d6\u30eb\u30fc\u30c1\u30f3\u306b\u53c2\u7167\u6e21\u3057\u3059\u308b \u30bd\u30fc\u30b9 #include <stdio.h> void swap(int *i, int *j); int main(int argc, char *argv[]){ int num1 = 100; int num2 = 800; printf(\"num1: %d num2: %d\\n\", num1, num2); swap(&num1, &num2); printf(\"num1: %d num2: %d\\n\", num1, num2); return 0;} /* 2\u3064\u306e\u6574\u6570\u30dd\u30a4\u30f3\u30c8\u304c\u6307\u3057\u3066\u3044\u308b\u5024\u3092\u5165\u308c\u66ff\u3048\u308b */void swap(int *i, int \u2026","provider_name":"Hatena Blog","published":"2013-09-07 11:49:58","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/m/mocomei/20130907/20130907114932.png"}