以下哪項是空終止字符串?空終止字符串
char *str1 = "This is a string.";
char *str2 = "This is a string.\0";
char str3[] = "This is a string.";
const char *str4 = "This is a string.";
const char *str5 = "This is a string.\0";
const char str6[] = "This is a string.";
「我總是空終止。」 – 2010-12-09 08:07:59