Cè¨èªã® char x[] ã¨ï¼ char *x ã®éããç解ããããã®ã³ã¼ãã®è§£çã§ããï¼ãã¤ã³ãã¯ï¼ãé åãã«ããã¾ãï¼ ããã°ã©ã ã¯ï¼ï¼è²ããªåãæ¹ãããã¾ããï¼ã¡ã¢ãªä¸ã§ã¯ããã¤ãã®é åã«åããã¦ãã¾ãï¼ ã³ã¼ãé åï¼ããã°ã©ã ã®ã³ã¼ãæ¬ä½ãå ¥ã£ã¦ããé å å®æ°é åï¼å®æ°ï¼ãªãã©ã«ï¼ã®ããã®é å ã¹ã¿ãã¯é åï¼å¤æ°ãé¢æ°å¼ã³åºããªã©ã«ç¨ããããé å ãã¼ãé åï¼åçã«ã¡ã¢ãªã確ä¿ããã¨ãç¨ã®é å ãªã©ãããã¾ãï¼ ããã§ï¼ int main(){ char x[] = "hoge"; char *y = "hoge"; x[0]='a'; y[0]='a'; return 0; } ã®2è¡ç®ï¼ char x[] = "hoge"; ã§ã¯ï¼æåå"hoge"5ãã¤ãå*1ã®é åxãã¹ã¿ãã¯é åã«ç¢ºä¿ãï¼ããã¸'h','o','g','e','\0'ã®æååãæ ¼ç´ãã¦ãã¾ãï¼ ããã«å¯¾
{{#tags}}- {{label}}
{{/tags}}