函数m(x,n) 计算并返回具有n个元素数组x中的最小元素的下标。请填空。int m(int *x,int n){int i=0,j;for(j=0;j
查看答案
执行下面语句段后输出结果是______。int k=1,n=10,m=1;while(k<=n){m*=2;n--;k++;}cout<
对于枚举类型的定义语句enum Color{Blue,Green=3,Black,White=6,Red};其中枚举常量Red的值为______。
下列语句的运行结果为____。#include using namespace std; struct COMPLEX{int x;int y;} cNum[2]={1,3,2,7};void main(){cout<< cNum[0].y*cNum[1].x<
下列程序的运行结果是____。#include using namespace std;union{int i;char x[2];}a;void main(){a.x[0] = 10; a.x[1] = 1;cout<