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

题目内容 (请给出正确答案)
填空题
以下程序运行后的输出结果是()。      main( )  {int a=010,b=2,c;      c=a+b;  printf(“%d”,c);      }

参考答案

参考解析
解析: 暂无解析
更多 “填空题以下程序运行后的输出结果是()。      main( )  {int a=010,b=2,c;      c=a+b;  printf(“%d”,c);      }” 相关考题
考题 有以下程序main(){ int a=0, b=0;a=10; /* 给 a 赋值b=20; 给 b 赋值 */printf("a+b=%d\n",a+b); /* 输出计算结果 */}程序运行后的输出结果是A)a+b=10B)a+b=30C)30D) 出错

考题 ( 35 )有以下程序#include stdio.h#define SUB ( a ) ( a ) - ( a )main (){ int a=2,b=3,c=5,d;d=SUB ( a+b ) *c;printf ( " %d \ n " ,d ) ;}程序运行后的输出结果是A ) 0B ) -12C ) -20D ) 10

考题 以下程序运行后的输出结果是【】。 include using namespace std; int main() {int i=10, 以下程序运行后的输出结果是【 】。include<iostream>using namespace std;int main(){int i=10,i:0;do{j=j+i;i--;}while(i>2);cout<<j<<end1;return 0;}

考题 有以下程序 main() {int a=0,b=0; a=10; /* 给a赋值 b=20; 给b赋值 */ printf("a+b=%d\n",a+b);/* 输出计算结果 */ } 程序运行后的输出结果是______。A.a+b=10B.a+b=30C.30D.出错

考题 (36)有以下程序#include stdio.h#define PT 3.5;#define S(x) PT*x*x;main(){ int a=1, b=2; printf(“%4.1f\n”,S(a+b));}程序运行后输出的结果是A)14.0 B)31.5 C)7.5 D)程序有错无输出结果

考题 以下程序运行后,输出结果是define PT5.5define S(x)PT*x*xincludemain(){int a=1,b= 以下程序运行后,输出结果是 #define PT 5.5 #define S(x) PT*x*x #include<stdio.h> main() { int a=1,b=2; printf("%4.1f\n",s(a+b));}A.49.5B.9.5C.22D.45.0

考题 以下程序运行后,输出结果是 #define PT 5.5 #define S(x)PT* x * x main() {int a=1,b=2; printf("%4.lf\n",S(a+b); }A.49.5B.9.5C.22D.45

考题 以下程序运行后,输出结果是______。includedefine PT 5.5difine S(x) PT*x*xmain(){i 以下程序运行后,输出结果是______。 #include<stdio.h> #define PT 5.5 #difine S(x) PT*x*x main() { int a=1,b=2; printf("%4.1f/n",S(a+b)); }A.49.5B.9.5C.22D.45

考题 以下程序运行后的输出结果是【】include main ( ) {char a[] ="123456789", *p;int i =0; 以下程序运行后的输出结果是【 】include <stdio.h>main ( ){ char a[] ="123456789", *p;int i =0;p=a;while( * p){ if(i%2 ==0) *p='*';p++;i++;}puts(a);}

考题 以下程序运行后的输出结果是( )。 include main(){ int a=1, b=7; do { b=b/2; a+=b 以下程序运行后的输出结果是( )。include<stdio.h>main(){ int a=1, b=7;do {b=b/2; a+=b;} while(b>1);printf("%d\n",A);}

考题 有以下程序: include using namespace std; int main() {int i=010,j=10;cout 有以下程序:include <iostream>using namespace std;int main(){int i=010,j=10;cout<<(++i)<<","<<i--<<end1;return 0;}则该程序运行后的输出结果是【 】。

考题 有以下程序: #includestdio.h #define SUB(a)(a)-(a) main( ) {int a=2,b=3,c=5,d; d=SUB(a+b)*C; printf("%d\n",d); } 程序运行后的输出结果是( )。A.0B.-l2C.-20D.10

考题 以下程序运行后的输出结果是( )。 include main() { int x=20; printf("%d", 0 以下程序运行后的输出结果是( )。include<stdio.h>main(){ int x=20;printf("%d", 0<x<20);printf("%d\n", 0<x x<20);}

考题 有以下程序: #includestdiO.h main( ) {int a=1,b=0; printf("%d,",b=a+b); printf("%d\n",a=2+b); ‘’ } 程序运行后的输出结果是( )。A.0,0B.1,3C.3,2D.1,2

考题 以下程序运行后的输出结果是_______。includestdio.hmain( ){int a=200,b=010;print(”%d%d\n”,a,b);}

考题 以下程序运行后,输出结果是______。 define P4.5 define S(x)P*x*x include main() { 以下程序运行后,输出结果是______。 #define P4.5 #define S(x)P*x*x #include<stdio.h> main() { int a=2,b=3; printf("%.1f\n",S(a+b)); }A.49.5B.112.5C.18D.24

考题 有以下程序: #includestdio.h int f(int x); main( ) { int a,b=0; for(a=0;a3;a++) { b=b+f(a);putchar(A+b);} } int f(int x) { return x * x1; } 程序运行后的输出结果是( )。A.ABEB.BDIC.BCFD.BCD

考题 以下程序的输出结果是 include void main( ) {int a=21,b=11; cout 以下程序的输出结果是 #include<iostream.h> void main( ) { int a=21,b=11; cout<<- -a+b;}A.30B.31C.32D.33

考题 以下程序运行后的输出结果是【】。include main(){int i=10,j=0;do{j=j+ i; i--;}while 以下程序运行后的输出结果是【 】。include <iostream.h>main(){int i=10,j=0;do{j=j+ i; i--;}while(i>2);cout<<j;}

考题 以下程序运行后,输出结果是______。 #define PT 5.5 #define S(x) PT*x*x main() { int a=1,b=2;printf("%4.1 f\n",S(a+b)); }A.49.5B.9.5C.22D.45

考题 有以下程序: main {int a=0,b=0; a=10; /*给a赋值 b=20; 给b赋值 */ printf("a+b=%d\n",a+b);//输出计算机结果 } 程序运行后的输出结果是( )。A.a+b=10B.a+b=30C.30D.出错

考题 若有如下程序:sub(int a,int b,int *z){*z=a+b;return;}main(){int a=1,b=2,c=3,d,e;sub(a,b, return;} main() {int a=1,b=2,c=3,d,e; sub(a,b,D) ; sub(c,d,e); printf("%d",e); } 则程序运行后的输出结果是A.3B.4C.5D.6

考题 以下程序运行后,输出结果是define PT 5.5define S(x)PT*x*xincludemain(){ int a=1, 以下程序运行后,输出结果是 #define PT 5.5 #define S(x) PT*x*x #include<stdio.h> main() { int a=1,b=2; printf("%4.1f\n",S(a+b));}A.49.5B.9.5C.22D.45

考题 以下程序运行后的输出结果是()。      main( )  {int a=1,b=3,c=5;      if(c=a+b)     printf(“yes”);      else  printf(“not”);  } 

考题 以下程序运行后的输出结果是()。      main( )  {int a=010,b=2,c;      c=a+b;  printf(“%d”,c);      }

考题 填空题以下程序运行后的输出结果是()。      main( )  {int a=1,b=3,c=5;      if(c=a+b)     printf(“yes”);      else  printf(“not”);  }

考题 单选题有以下程序:#include main(){ int a=1,b=0; printf(%d,,b=a+b); printf(%d,a=2*b);}程序运行后的输出结果是(  )。A 0,0B 1,0C 3,2D 1,2