上述方式中, text 只是個型態為 const char* 的指標,是與以下不同的,底下建立的 text ... i < 3; i++) { String name = names[i]; printf("%s\n", name); } return 0; }
確定! 回上一頁