能力值:
( LV9,RANK:200 )
|
-
-
2 楼
#include <stdio.h>
int main()
{
char * szBuf[] = {"abc", "1234", "ABCDE"};
printf("szBuf[0] = %s\n", szBuf[0]);
printf("szBuf[1] = %s\n", szBuf[1]);
printf("szBuf[2] = %s\n", szBuf[2]);
printf("szBuf[0][0] = %c\n", szBuf[0][0]);
printf("szBuf[0][1] = %c\n", szBuf[0][1]);
printf("szBuf[0][2] = %c\n", szBuf[0][2]);
return 0;
}
输出:
szBuf[0] = abc
szBuf[1] = 1234
szBuf[2] = ABCDE
szBuf[0][0] = a
szBuf[0][1] = b
szBuf[0][2] = c
Press any key to continue
|
能力值:
( LV2,RANK:10 )
|
-
-
3 楼
多谢。。。。
|
|
|