文件名称:2sd
介绍说明--下载内容来自于网络,使用问题请自行百度
本例中用一个循环语句给a数组各元素送入奇数值,然后用第二个循环语句输出各个奇数。在第一个 for语句中,表达式3省略了。在下标变量中使用了表达式i++,用以修改循环变量。当然第二个for语句也可以这样作,C语言允许用表达式表示下标。 程序中最后一个printf语句输出了两次a[5]的值,可以看出当下标不为整数时将自动取整。-In this case with a loop to a surprising array of values into the elements, and then the second output of each odd-numbered loop. For statements in the first, the expression 3 omitted. The following variables are used in standard expression i++, to modify the cycle variable. Of course, the second for statement can also do so, C language allows expression of that subscr ipt. Procedures in the last two printf statements output a [5] the value, we can see that the current standard is not an integer will be rounded automatically.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2sd.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.