{"description":"\u304a\u984c short\u578b\u306e\u4e0a\u4f4d\u30d0\u30a4\u30c8\u3068\u4e0b\u4f4d\u30d0\u30a4\u30c8\u3092\u8868\u793a\u3059\u308b \u30d7\u30ed\u30b0\u30e9\u30e0\u6982\u8981 short\u578b\u3068\u6587\u5b57\u914d\u5217\u3067\u69cb\u6210\u3055\u308c\u308b\u5171\u7528\u4f53\u3092\u7528\u610f\u3057\u3001 short\u578b\u30e1\u30f3\u30d0\u306b\u6570\u5b57\u3092\u4ee3\u5165\u3057\u3001 \u4e0b\u4f4d\u30d0\u30a4\u30c8\u3068\u4e0a\u4f4d\u30d0\u30a4\u30c8\u3092\u8868\u793a\u3055\u305b\u308b \u30bd\u30fc\u30b9 #include <stdio.h> int main(int argc, char *argv[]) { union u_type { short int s; unsigned char c[2]; } var; var.s = 520; printf(\"Low byte is %u.\\n\", var.c[0]); printf(\"Upper byte is %u.\\n\", var.c[1]\u2026","title":"20131115\u3010C\u8a00\u8a9e\u3011short\u578b\u306e\u4e0a\u4f4d\u30d0\u30a4\u30c8\u3068\u4e0b\u4f4d\u30d0\u30a4\u30c8\u3092\u8868\u793a\u3059\u308b","provider_name":"Hatena Blog","type":"rich","width":"100%","categories":[],"height":"190","author_name":"mocomei","published":"2013-11-16 01:30:55","url":"https://mocomei.hatenablog.com/entry/2013/11/16/013055","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmocomei.hatenablog.com%2Fentry%2F2013%2F11%2F16%2F013055\" title=\"20131115\u3010C\u8a00\u8a9e\u3011short\u578b\u306e\u4e0a\u4f4d\u30d0\u30a4\u30c8\u3068\u4e0b\u4f4d\u30d0\u30a4\u30c8\u3092\u8868\u793a\u3059\u308b - 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>","author_url":"https://blog.hatena.ne.jp/mocomei/","blog_url":"https://mocomei.hatenablog.com/","image_url":null,"blog_title":"365\u65e5\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30d6\u30ed\u30b0","version":"1.0"}