names1為字串陣列,names2為二維陣列*/ char *names1[] = {"Hello", "C"}; // sizeof(names1) = 8 char names2[][6] = {"Hello", "C"}; // sizeof (names2) = 12.
確定! 回上一頁