单选题以下所列对结构类型变量tdl的声明中错误的是______。
单选题有以下程序
main( )
{ { int x=102,y=012; printf(“%2d,%2d/n”,x,y);}
执行后输出结果是( )。
单选题有以下程序 #include<stdio.h> int funa(int a,int b){return a+b;} int funb(int a,int b){return a-b;} int sss(int(*t)(),int x,int y){return((*t)(x,y));} main(){int x; x=sss(funa,9,3); x+=sss(funb,8,3); printf("%d\n",x);}程序运行后的输出结果是
单选题若有以下程序 main(){int c; c=10^5: printf("%d\n",c); } 则程序的输出结果是
单选题以下选项中不能用作C程序合法常量的是
单选题有以下程序: #include <stdio.h> main(
) { char b[3][10],c;
int i; for(i=0; i<2; i++) scanf("%s",
b[i]); i=0;
while((c=getchar())!='/n')b[2][i++] = c; b[2][i]
='/0'; printf("%s%s%s/n", b[0], b[1],
b[2]); } 执行时若输入以下字符串:
Peach flower is pink. <回车> 则输出结果是______。
A.Peachflower is pink.
B.Peaehfloweris pink.
C.Peachflowerispink.
D.Peach flower is pink.
单选题当输入为"Fool while(c!='?') c=getchar(); putchar(C) ;
单选题若定义static int a[2][2]=1,2,3,4,则a数组的各数组元素分别为______。
单选题已定义以下函数
int fun(int *P)
{ return *P;}
fun函数返回值是______。
单选题设有下面的定义: struct st int a; float b; d; int*p; 要使P指向结构变量d中的a成员,正确的赋值语句是( )。 A) *p=d.a; B) p=&a; C) p=d.a; D) p=&d.a;
单选题以下程序的输出结果是( )。 #include<stdio.h> int m=13; int fun(int x,int y) { int m=2; return(x*y-m); } main() { int a=7,b=6; printf(''%d'',fun(a,b)/m); }
单选题以下程序的结果是______。 int a,b; void
fun() { a=100;b=200;} main()
{ int a=5,b=7; fun();
printf("%d%d/n",a,b) ; }
A. 100200
B. 57
C. 200100
D. 75
单选题有如下程序:
#include <stdio.h>
main()
{
char ch="A";
while(ch<"D")
{
printf("%d", ch-"A");
ch++;
}
printf("/n");
}
程序运行后的输出结果是______。
单选题有以下程序:
main()
{ int k=4,n=0;
for(;n<k;)
{ n++;
if(n%!=0)continue;
k--; }
printf("%d/n",k,n);
}
程序运行后的输出结果是( )。
单选题以下关键字序列用快速排序法进行排序,速度最慢的是______。
单选题以下程序的输出结果是 main() { inta,i;a=0; for(i=1;i<5;i++) { switch(i) { case0: case 3:a+=2; case 1: case 2:a+=3; default:a+=5;} }printf("%d/n",a);}
单选题关系代数运算是以______为基础的运算。
A. 关系运算
B. 谓词运算
C. 集合运算
D. 代数运算
单选题下面选项中关于编译预处理的叙述正确的是
单选题对关系S和关系R进行集合运算,结果中既包含关系S中的所有元组也包含关系R中的所有元组,这样的集合运算称为( )。
单选题设x=015,则x=x^017的值是______。