摘要: 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小罗 阅读(592) 评论(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小罗 阅读(230) 评论(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小罗 阅读(253) 评论(0) 推荐(0) 编辑