char *p[12]={1,2,3,4,5,6,7,8,9,10,11,12}; printf("%s\n",*(p+t...答:你把一个int型的赋给一个字符串,通不过编译。char *p[12]={“1”,“2”,“3”,“4”,“5”,“6”,“7”,“8”,“9”,“10","11","12"};上面这样定义才行 (p+t-1)这个没啥好解释的确定t的值就行输出的是p[t-1]的值,对应数组找下就好了,不考虑越界 ...
C语言怎么定义一个字符串组?答:","one","two","three", "four","five"} ;或:char a_data[20][10]={//初始化,完成对应关系建立 字符串数组,适合动态修改其中的数据,或动态扩充对应关系数据"", "one","two","three", "four","five"} ;调用:int i;i=1 ; printf("%d-%s\n", i, a_data[i] )...