摘要: #include <stdio.h>int shun(int a[][100],int c,int b,int n){ if(c==0&&b==n-1) return 1; if(b>c&&b<n-c-1) return shun(a,c,b-1,n)+1; if(b>=c&&b>=n-c-1) r 阅读全文
posted @ 2021-12-12 18:24 .Watchman 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 二维数组指针: 1. *a:以a[0][0]为首元素的一维数组.可带一个索引:(*a)[i] 即a[0][i]2. a:以a[0][0]为首元素的二维数组.可带两个索引:a[i][j]3. a[0]:同*a4. a[0][0]:首元素5. a[1]:以a[1][0]为首元素的一维数组.可带一个索引. 阅读全文
posted @ 2021-11-07 18:01 .Watchman 阅读(124) 评论(0) 推荐(0) 编辑