{"blog_url":"https://abcb2.hatenadiary.org/","published":"2008-06-06 14:31:07","image_url":null,"blog_title":"\u6c17\u307e\u307e\u306b\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u65e5\u8a18","title":"\u30dd\u30a4\u30f3\u30bf","height":"190","provider_name":"Hatena Blog","type":"rich","width":"100%","author_name":"abcb2","author_url":"https://blog.hatena.ne.jp/abcb2/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fabcb2.hatenadiary.org%2Fentry%2F20080606%2F1212730267\" title=\"\u30dd\u30a4\u30f3\u30bf - \u6c17\u307e\u307e\u306b\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\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\u8a00\u8a9e"],"provider_url":"https://hatena.blog","description":"\u3059\u3054\u304f\u4e45\u3057\u3076\u308a\u306e\u66f4\u65b0\u3002\u3002 \u30dd\u30a4\u30f3\u30bf\u306bstr\u306e\u30a2\u30c9\u30ec\u30b9\u3092\u4ee3\u5165\u3059\u308b\u3002 p\u306b\u306fstr\u306e\u5148\u982d\u30a2\u30c9\u30ec\u30b9\u304c\u5165\u3063\u3066\u3044\u308b *(p + 0)\u306fstr[0]\u3092\u53c2\u7167\u3057\u3066\u304a\u308a\u3001&(*(p + 0))\u306f\u5148\u982d\u30a2\u30c9\u30ec\u30b9\u3092\u793a\u3059 #include <stdio.h> int main() { char str[] = \"hogemoge\"; char *p; p = str; printf(\"%s\\n\", p); printf(\"%x\\n\", p); printf(\"%x\\n\\n\", str); printf(\"%s\\n\", &(*(p + 0))); return 0; } %s\u306f\u30cc\u30eb\u6587\u5b57\u307e\u3067\u306e\u6587\u5b57\u5217\u306e\u51fa\u529b \u4eca\u307e\u3067%s\u306b*p\u2026","url":"https://abcb2.hatenadiary.org/entry/20080606/1212730267","version":"1.0"}