const char* const ã®ï¼ã¤ã®constããããããä½ã®å¤ãå¤æ´ä¸å¯ã«ããã®ãã®ã¾ã¨ãã const char* char* const const char* const const char* ã®å¤æ°ã¯ãå®æ°ãã¼ã¿ã¸ã®ãã¤ã³ã¿ã§ããä¸èº«ã®å¤æ´ä¸å¯ãã¢ãã¬ã¹ã®å¤æ´å¯ã§ãã è¦ãæ¹ ï¼ãã¢ã¹ã¿ãªã¹ã¯ãã¯ããã®å·¦å´ãã¹ã¦ã«ä¿ãã â ãconst charãã®ãã¤ã³ã¿ â ãæåãå¤æ´ä¸å¯è½ãªæååãã¸ã®ãã¤ã³ã¿ â ä¸èº«ã®å¤æ´ã¯ä¸å¯ãã¢ãã¬ã¹ã®å¤æ´ã¯å¯ char szAAAAA[ ] = "AAAAA"; char szBBBBB[ ] = "BBBBB"; const char* pBuffer = szAAAAA; // å®æ°ãã¼ã¿ã¸ã®ãã¤ã³ã¿ pBuffer[1] = 'C'; // ä¸å¯ï¼ã³ã³ãã¤ã«ã¨ã©ã¼ï¼ pBuffer = szBBBBB; // å¯ï¼æ£ããï¼ c
{{#tags}}- {{label}}
{{/tags}}