{"height":"190","blog_url":"https://nextugi.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnextugi.hatenadiary.org%2Fentry%2F20090714%2Fconst_and_pointer\" title=\" const \u3068\u30dd\u30a4\u30f3\u30bf - \u3084\u304e\u3055\u3093\u306f\u308f\u3089\u3070\u3093\u3057\u3092\u305f\u3079\u308b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"author_url":"https://blog.hatena.ne.jp/nextugi/","type":"rich","blog_title":"\u3084\u304e\u3055\u3093\u306f\u308f\u3089\u3070\u3093\u3057\u3092\u305f\u3079\u308b","categories":[],"url":"https://nextugi.hatenadiary.org/entry/20090714/const_and_pointer","description":"\u5b9a\u6570\u306a\u3093\u3066\u308d\u304f\u306b\u4f7f\u3063\u305f\u3053\u3068\u306a\u3044\u3051\u3069\u3001\u30dd\u30a4\u30f3\u30bf\u30fc\u306e\u5834\u5408 const \u3092\u4ed8\u3051\u308b\u5834\u6240\u3067\u610f\u5473\u304c\u5909\u308f\u3063\u3066\u304f\u308b\u3093\u3060\u306a\u3002 int main(int argc, char **argv) { int a = 2; int b = 3; int c = 5; int d = 7; const int * pa = &a; int * const pb = &b; const int * const pc = &c; *pa = 11; // error pa = &d; *pb = 11; pb = &d; // error *pc = 11; // error pc = &d; // error return\u2026","width":"100%","title":" const \u3068\u30dd\u30a4\u30f3\u30bf","provider_url":"https://hatena.blog","version":"1.0","provider_name":"Hatena Blog","author_name":"nextugi","published":"2009-07-14 00:00:00"}