发布网友
共2个回答
热心网友
char *str={"one","two","three","four","five"};等价char str[]={"one","two","three","four","five"};
热心网友
char *pNumbers = { "one", "two", "three", "four" };
cout << pNumbers[2]; // 输出 three
热心网友
char *str={"one","two","three","four","five"};等价char str[]={"one","two","three","four","five"};
热心网友
char *pNumbers = { "one", "two", "three", "four" };
cout << pNumbers[2]; // 输出 three