单选题有以下程序:
#include <stdio.h>
main( )
{int x=1, y=0, a=0, b=0;
switch(x)
{ case 1:
switch(y)
{ ease 0: a+ +; break;
case 1: b+ +; break;
}
ease 2: a+ +: b+ +: break;
case 3: a+ +; b+ +;
printf("a=%d, b=%d/n", a, b);
}
程序的运行结果是______。
单选题在微机系统中,对输入输出设备进行管理的基本程序模块(BIOS)存放在 ( )
单选题据库设计中,描述数据间内在语义联系得到E-R图的过程属于______。
单选题有如下定义:
struct st
{int x;float y;} rec,*px;
若要使指针px指向rec的成员x,正确的赋值语句是( )。
单选题以下程序的输出结果是( )。 main() int i=0,s=0; for(;;) if(i==3||i==5) continue; if(i==6) break; i++; s+=i; ; printf("%d/n" ,s);
单选题有以下程序 int fun1(double a){return a*=a;} int fun2(double x,double y) { double a=0,b=0; a=fun1(x);b=fun1(y);return(int)(a+b);} main() {double w;w=fun2(1.1,2.0);……}程序执行后输出结果是
单选题设有定义:int a=1,b=2,e=3;,以下语句中执行效果与其他3个不同的是
单选题已定义以下函数
int fun(int*P)
{return*p;)
fun函数返回值是【 】。
单选题判断char型变量cl是否为大写字母的正确表达式是( )。
单选题有以下程序
#include
main()
{ int x=1,y=0;
if(!x) y++;
else if(x==0)
if (x) y+=2;
else y+=3;
printf("%d\n",y);
}
程序运行后的输出结果是
单选题有以下程序
#include
main()
{ char a = 'H';
a = (a >= 'A'
printf("%c\n", a);
}
程序运行后输出结果是
单选题当变量c的值不为2、4、6时,值也为"真"的表达式是( )。
单选题软件测试的目的是( )。
单选题以下叙述中正确的是( )。
单选题有以下程序:
#include<stdio.h>
ain()
{
int a=3;
a+=a-=a*a;
printf("%d/n",a);
}
程序运行后的输出结果是______。
单选题下列定义变量的语句中错误的是______。
单选题有以下程序: #include int f(int x) int y; lf (x==0||x==1)return(3); y=x*x-f(x-2); return y; main() int Z; z=f(3);printf("%d/n",z); 程序的运行结果是( )。
单选题若有以下程序 main(){int i,j=0; char a[]="How are you!"; for(i=0;a[i];i++) if(a[i]!='')a[j++]=a[i]; a[j]='\0'; printf("%s\n",a);}则程序的输出结果是
单选题以下不能正确计算代数式值的C语言表达式是______。
A. 1/3*sin(1/2)*sin(1/2)
B. sin(0.5)*sin(0.5)/3
C. pow(sin(0.5),2)/3
D. 1/3.0*pow(sin(1.0/2),2)
单选题下列程序的输出结果是 #include"stdio.h" #define M(x,y) x%y main() { int a,m=12,n=100; a=M(n,m); printf("%d/n",a--);}