摘要:
1 #include <stdio.h> 2 3 int funk(int (*a)[3], int (*b)[2]) 4 { 5 int i, j; 6 7 for(i=0; i<2; i++) 8 for(j=0; j<3; j++) 9 *(*(b+j)+i) = *(*(a+i)+j); 1 閱讀全文
posted @ 2014-10-19 23:20
Qt小羅
閱讀(600)
評論(0)
推薦(0)
摘要:
1 #include <stdio.h> 2 #include <string.h> 3 4 int main() 5 { 6 char *p = {"hello luoxang. how are you?"}; 7 char arr[5][20]; 8 char (*r)[20] = arr; 9 閱讀全文
posted @ 2014-10-19 23:11
Qt小羅
閱讀(236)
評論(0)
推薦(0)
摘要:
1 #include <stdio.h> 2 3 int funk(int n, char **p) 4 { 5 if(n > 0 && n<13) 6 printf("time is %s\n", *(p+n-1)); 7 } 8 9 int main() 10 { 11 char *arr[12 閱讀全文
posted @ 2014-10-19 19:49
Qt小羅
閱讀(267)
評論(0)
推薦(0)

浙公網安備 33010602011771號