{"published":"2018-08-26 22:01:25","categories":["C\u8a00\u8a9e","void\u578b"],"url":"https://program-shoshinsya.hatenablog.com/entry/2018/08/26/220125","author_name":"program-shoshinsya","height":"190","image_url":null,"width":"100%","title":"C\u8a00\u8a9e\u306evoid\u578b\u3092\u5206\u5c90\u3067return\u3059\u308b\u65b9\u6cd5","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fprogram-shoshinsya.hatenablog.com%2Fentry%2F2018%2F08%2F26%2F220125\" title=\"C\u8a00\u8a9e\u306evoid\u578b\u3092\u5206\u5c90\u3067return\u3059\u308b\u65b9\u6cd5 - au\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>","type":"rich","provider_name":"Hatena Blog","description":"au\u3067\u3059\u3002 void\u578b\u306e\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3044\u3066\u3001int\u578b\u307f\u305f\u3044\u306b\"return 0\"\u3092\u3057\u3088\u3046\u3068\u3059\u308b\u3068warning\u3067\u8fd4\u3055\u308c\u308b\u306e\u3067\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u304b\u3068\u601d\u3044\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u3002 return 0\u3067\u8fd4\u305d\u3046\u3068\u3057\u3066\u307f\u308b \u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u7d44\u307f\u3001void\u578b\u306e\u4e2d\u3067return 0\u3067\u8fd4\u305d\u3046\u3068\u3057\u307e\u3057\u305f\u3002 #include <stdio.h> void sum(void) { return 0; } int main(void) { sum(); return 0; } // compile\u7d50\u679c void2.c: In function \u2018sum\u2019: void2.c:4:12: warning: \u2018return\u2019 w\u2026","author_url":"https://blog.hatena.ne.jp/program-shoshinsya/","version":"1.0","blog_url":"https://program-shoshinsya.hatenablog.com/","blog_title":"au\u306e\u65e5\u8a18","provider_url":"https://hatena.blog"}