网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
下面程序段的输出为( )。 include "stdio.h" main { printf("%d\n",12<<2); }A.0SXB

下面程序段的输出为( )。 #include "stdio.h" main { printf("%d\n",12<<2); }

A.0

B.47

C.48

D.24


参考答案

更多 “ 下面程序段的输出为( )。 include "stdio.h" main { printf("%d\n",122); }A.0SXB 下面程序段的输出为( )。 #include "stdio.h" main { printf("%d\n",122); }A.0B.47C.48D.24 ” 相关考题
考题 为使*p=20,下面正确的程序是()A. include main( ) { int a=10,b=20,*p= printf 为使*p=20,下面正确的程序是 ( )A.# include<stdio.h> main( ) { int a=10,b=20,*p=&b; printf("%d\t%d\n",p,*p); } *p)B.# include<stdio.h> main( ) { int a=10,b=20,*p=b; printf("%d\t\%d\n",p,*p) }C.# include<stdio.h> main( ) { int a=10,b=20,*p; p=&a; p + +; printf("%d\t\%d\n",p,*p);} }D.# include<stdio.h> main( ) { int a=10,b=20,*p; *p=20; printf("%d\t\%d\n",p,*p); }

考题 下面程序段的输出为 #nclude"stdio.h" main() { printf("%d\n",12<<2);}A.0B.47C.48D.24

考题 下面程序段的输出为#include "stdio.h"main(){ printf("%d\n",122);}A.0B.47C.48D.24

考题 现有如下程序段,则程序段的输出结果为 【16】 。#include "stdio.h"int fun(){static int k;return k;}main(){int m;m=fun();printf("%d\n",m);}

考题 有以下程序includemain(){int a=5,b=lt; t=(a 有以下程序 #include<stdio.h> main() { int a=5,b=lt; t=(a<<2)|b;printf("%d\n",t); } 程序运行后的输出结果是______。A.21B.11C.6D.1

考题 若有下面的程序段#include "stdio.h"main(){ int i=6; while(i--) printf("%d",--i); printf("\n");}那么程序的输出结果为A.531 B.420C.654321 D.死循环

考题 下面程序段的输出为#include "stdio.h"main(){ printf("%d\n",122);}A.0B.47C.48D.24

考题 下面程序段的输出为 #include"stdio.h" main() { printf("%d\n",12<<2);}A.0B.47C.48D.24

考题 以下四个程序中,完全正确的是()A.#include <stdio.h> main(); {/*/ programming /*/ printf("programming!n");}B.#include <stdio.h> main() {/* programming */ printf("programming!n"); }C.#include <stdio.h> main() {/*/* programming */*/ printf("programming!n"); }D.include <stdio.h> main() {/* programming */ printf("programming!n"); }