正在加载图片...
引用示例 例7.1数组元素的用 #include <stdio.h> int main() inti; int a[10]; for(i=0;=9i++) a[间=i } for(i=9;>=0;i-) printf(“%d”,a[])为 } return 1; 运行结果:9876543210引用示例 例7.1 数组元素的引用 #include <stdio.h> int main() { int i; int a[10]; for (i=0; i<=9;i++) { a[i] = i; } for(i=9; i>=0; i-) { printf(“%d”, a[i]); } return 1; } 运行结果:9 8 7 6 5 4 3 2 1 0
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有