16.下列程序运行时输出的结果是()。
#include
#include
int fun( )
{int k;
while( )
{k=abs( );
m=( )?n:m;
n=k;
}
return m;
}
int main( )
{printf("%d, %d\n", fun(9, 15), fun(9, 5));
return 0;
}
https://www.shititong.cn/cha-kan/shiti/0005e1ec-b3f5-9588-c003-bc7499099f00.html
点击查看答案
36.下面函数定义的头部正确的是( )。
A. int fun(int a[], b)
B. int fun(int a[], int a)
C. int fun(int a, int b)
D. int fun(char a[ ][], int b)
https://www.shititong.cn/cha-kan/shiti/0005e1ec-b3f5-2ff8-c003-bc7499099f01.html
点击查看答案
1.A2.C3.A4.B5.A6.A7.B8.D9.B10.B
https://www.shititong.cn/cha-kan/shiti/0005e1ec-b3ef-d8c8-c003-bc7499099f01.html
点击查看答案
16.数学表达式
![](https://yi2.oss-cn-shenzhen.aliyuncs.com/46a0cb20c21a4be9bcfe839cc1aa5b07.png)
所对应的C语言表达式为( )。
https://www.shititong.cn/cha-kan/shiti/0005e1ec-b3f0-e268-c003-bc7499099f01.html
点击查看答案
11.3
https://www.shititong.cn/cha-kan/shiti/0005e1ec-b3f4-7c48-c003-bc7499099f02.html
点击查看答案
5.包含双目运算符的表达式一般可表示为 ( ) op ( ),其中op代表运算符,x、y代表操作数。若op是关系运算符或逻辑运算符,则不管x、y为何值,表达式的值是________。
https://www.shititong.cn/cha-kan/shiti/0005e1ec-b3f0-51e0-c003-bc7499099f01.html
点击查看答案
53.下面常量表示中正确的是( )。
A. \xff
B. 3L
C. aEb
D. 3.14U
https://www.shititong.cn/cha-kan/shiti/0005e1ec-b3ef-bd70-c003-bc7499099f00.html
点击查看答案
5.下面程序运行后输出的结果是________。
#include
int main()
{ int n=5;
do
{ switch(n%2)
{ case 0: n--; break;
case 1: n--; continue;
}
n--;
printf("%2d", n);
}while(n>0);
return 0;
}
https://www.shititong.cn/cha-kan/shiti/0005e1ec-b3f1-c8e0-c003-bc7499099f00.html
点击查看答案
37.下面程序运行时输出的结果是()。
#include
void fun(int a[3][4])
{ int i, j, k;
for(i=0; i<3; i++)
{ k=0;
for(j=1; j<4; j++)
if( )k=j;
printf("%2d", a[i][k]);
}
}
int main()
{ int a[3][4]={{3, 5, 6, 4}, {5, 2, 4, 3}, {4, 2, 3, 5}};
fun( ); return 0;
}
https://www.shititong.cn/cha-kan/shiti/0005e1ec-b3f6-02e8-c003-bc7499099f00.html
点击查看答案
3.下列运算符中,优先级最低的是( )。
https://www.shititong.cn/cha-kan/shiti/0005e1ec-b3f0-ea38-c003-bc7499099f00.html
点击查看答案