填空题

改变量已正确定义为整型,则表达式n=i=2,++i,i++的值为 。

【参考答案】

C
<上一题 目录 下一题>
热门 试题

填空题
以下程序中,函数SumColumMin的功能是:求出M行N列二维数组每列元素中的最小值,并计算它们的和值,和值通过形参传回主函数输出。请填空, #include <stdio.h> #define M 2 #define N 4 void SumColumMin ( int a [M] [N] ,int* sum) int i,j,k,s=0; for(i =0;i<N;i ++ ) k=O; for(j=1 ;j < M;j ++ ) if(a[k][i] >a[j][i]) k=j; s+: ; =s; main( ) int x[M] [N]=3,2,5,1,4,1,8,3,s; SumColumMin( ); printf( %d n ,s);
填空题
设Y是int型变量,请写出判断Y为奇数的关系表达式 。
相关试题
  • 设有下列的程序段; char str[]= Hel...
  • 有以下程序: #include<stdio.h> fun...
  • 以下程序中,fun函数的功能是求3行4列二...
  • 以下程序的功能是:求出数组x中各相邻两个...
  • 以下程序的输出结果是 。 #include <s...