c
文章平均质量分 77
macandroid
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C语言指针和数组
程序1. #include main(){ char a[3][7]={"wphone","abcdef","google"}; char (*p)[3]; int b[3]={3,4,5}; int *ptr=(int *)(&b+1); p=a; printf("%d\n",*(ptr-1)); printf("%c %c\n",*(*(p+2)+1) ,p[2][1]); }输出:5原创 2013-04-13 16:49:16 · 516 阅读 · 0 评论 -
C数据结构之排序
选择排序 =============================================== void SelectSort(RecordType r[], int length) { n=length; for ( i=1 ; i<= n-1; ++i) { k=i; for ( j=i+1 ; j<= n ; ++j) i原创 2013-04-15 20:19:40 · 686 阅读 · 0 评论
分享