int main(){
char* abc = "abcdefgh";
printf("%s", *(abc + 1));
return 0;
}
-----------------
I get a segmentation fault for this code in C, can someone tell me what's wrong, and how can I fix this =) Thank you.
收錄日期: 2021-05-01 12:24:32
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20090526020531AAExtLy