单选题已知字符'A'的ASCⅡ码值是65,字符变量c1的值是'A',c2的值是'D'。执行语句printf("%d,%d",c1,c2-2);后,输出结果是( )。
单选题有以下程序:程序的运行结果是()。
单选题若有如下程序: #define PI 3.1415926 #define A(r) 2*PI*r main() {float a,1; a=3.0; 1=A(a) ; printf("r=%.2f,1=%.2f/n",a,1); } 则程序运行后的输出结果是 ( )
单选题设下面程序段中调用fun函数传送实参a和b, main() { chara[10],b[10] ┇ fun(a,b); ┇ } 则在fun函数首部中,对形参错误的定义是 ( )
单选题若已定义x和y为double类型,则表达式x=1,y=x+5/2的值是______。
单选题定义学生选修课程的关系模式:SC(S#,Sn,C#,Cn,G)(其属性分别为学号、姓名、课程号、课程名、成绩)。则对主属性部分依赖的是
单选题以下函数值的类型是______。 fun(float x) float y; y=3*x-4: return y;
单选题已定义ch为字符型变量,以下赋值语句中错误的是
单选题若有定义:int *p[3];,则以下叙述中正确的是( )。
单选题有以下程序:
#include <stdio.h>
#define SUB(X,Y) (X+1)*Y
main( )
{ int a=3,b=4;
printf("%d/n",SUB(a+ +,b+ +));
}
程序运行后的输出结果是______。
单选题有以下程序: main() char k: int i; for(i=1:i<3;i++) scanf("%c",&k); switch(k) case'0':printf("another/n"); case'1':printf("number/n"); 程序运行时,从键盘输入:01<回车>,程序执行后的输出结果是 ______。 A) another number B) another number another C) another number number D) number number
单选题有以下程序: main() {int n=0; do{n++; printf("%d\n",n); }while(n<=3);} 程序的输出结果是( )。
单选题下列程序的输出结果是
____
。
#include<stdio.h>
main()
{int a=3,b=2,c=1;
if(a<B)
if(b<O)c=0;
else c++;
printf("%d/n",c) ;
}
单选题下列程序的输出结果是______。main(){ int a=12,b=12;printf("%d%d/n",--a,++b);
单选题下列对队列的叙述正确的是______。 A) 队列属于非线性表 B) 队列按“先进后出”原则组织数据 C) 队列在队尾删除数据 D) 队列按“先进先出”原则组织数据
单选题设有如下定义: struct sk int n; float x; data, *p; 若要使p指向data中的n域,正确的赋值语句是 A) p=&tara. n; B) * p=data. n; C) p=(struct sk *) &data. n; D) p=(struct sk *) data. n;
单选题数据库系统在其内部具有3级模式,用来描述数据库中全体数据的全局逻辑结构和特性的是( )。
单选题有以下程序:
#include
#define SUB(a)(a)一(a)main()
{
int a=2,b=3,c=5,d;
d=SUB(a+ b)*c;
prinff(“%d\n”,d);
}
程序的运行结果是( )。
单选题以下语句的输出结果是()。
单选题以下是if语句的基本形式:if(表达式)语句其中“表达式”