#include <stdio.h>
int main() {
char d1[100] = "aaa";
printf( "%zu\r\n", sizeof(d1
) ) ; // 100
char *d2 = "aaa";
printf( "%zu\r\n", sizeof(d2
) ) ; // 8
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGNoYXIgZDFbMTAwXSA9ICJhYWEiOwogICAgcHJpbnRmKCAiJXp1XHJcbiIsIHNpemVvZihkMSkgKSA7IC8vIDEwMAoKICAgIGNoYXIgKmQyID0gImFhYSI7CiAgICBwcmludGYoICIlenVcclxuIiwgc2l6ZW9mKGQyKSApIDsgLy8gOAogICAgCiAgICByZXR1cm4gMDsKfQ==