違いはそこじゃないですよ!
http://d.hatena.ne.jp/yupo5656/20060907/p1
//char *main = "A"; char main[] = "A"; __attribute__((constructor)) _() { char *p = main; while (*p) *p++ *= 3; }
というわけで const つけない char[] に 3000 点。
http://d.hatena.ne.jp/yupo5656/20060907/p1
//char *main = "A"; char main[] = "A"; __attribute__((constructor)) _() { char *p = main; while (*p) *p++ *= 3; }
というわけで const つけない char[] に 3000 点。