单项选择题

有以下程序
#include<stdio.h>
main()
int a=5,b=lt;
t=(a<<2)|b;printf("%d\n",t);

程序运行后的输出结果是______。
A) 21 B) 11 C) 6 D) 1

<上一题 目录 下一题>
热门 试题

单项选择题
下列程序的运行结果为( ) #include<stdio.h> main() struc tdate int year,month,day; )today; printf( %d n ,sizeof(struct date));
A) 8
B) 6
C) 10
D) 12
单项选择题
在C语言中,只有在使用时才占用内存单元的变量,其存储类型是
A) auto和register B) extern和register C) auto和static D) static和register
相关试题
  • 以下程序运行后的输出结果是______。...
  • 设有定义: structint a;float b;char...
  • 设有下列的程序段; char str[]= Hel...
  • 以下程序用来判断指定文件是否能正常打开,...
  • 下列程序的输出结果是______。 long...