有程序:INTEGERFF(X,Y)=X/Y+XA=-2.0B=4.0B=B+F(A,B)WRITE(*,20)B20FORMAT(1X,F4.1)END此程序的运行结果是:()
有以下程序 main() { int a=666,b=888; printf("%d\n",a,b); } 程序运行后的输出结果是()
下面程序运行后,输出的结果是() 10 A=5:B=9 20 X=A-B 30 IF A>B THEN X=A+B 40 PRINT X 50 END
下面程序的运行结果是______。#include#includevoidmain(){charp1[50]=”abc”,*p2,str[50]=abc
有以下程序: #include struct S { int a,b; } data[2]={10,100,20,200}; void main() {struct S p; p=data[1]; printf(%d\n,++(p.a)); } 程序的运行结果是( )
有以下程序#includemain(){ char a=4;printf(%d , a=a<<1);}程序的运行结果是( )。
有下列程序:main(){int a=0,b=0;a=10; /*给a赋值}b=20; 给b赋值 */printf(\a+b=%d\\n\,a+b); /*输出计算结果 */程序运行后的输出结果是( )。
以下程序段的运行结果是()。chara[]=\youareaboy\,b[20];inti;for(i=0;*(a+i)!='\\0';i++)*(b+i)=*(a+i);*(b+i)='\\0';for(i=0;b[i]!='\\0';i++)printf(\%c\,b[i]);
8. 以下程序运行后的输出结果是_________________________.void main(){int a,b,c;a=10;b=20;c=(a%b<1)||(a/b>1);printf(\%d%d%d\\n\,a,b,c);}
有以下程序#includevoid fun( int a, int b, int c ){ a=b; b=c; c=a; }void main(){ int a=10 , b=20, c=30;fun( a, b, c );printf('%d,%d,%d ',c,b,a);}程序运行后的输出结果是________。
以下程序的运行结果是( )void main(){ int a=0,b=1,c=0,d=20;if(a) d=d-10;else if(!b)if(!c) d=15;else d=25;printf(\\%d\\,d);}
有以下程序#include main(){ int a=0, b=0;/* 给a赋值 a=10;b=20;给b赋值*/printf(\a+b=%d\\n\,a+b); /* 输出计算结果 */}程序运行后的输出结果是( )
有以下程序: include<stdio.h> struct tt {int x;struct tt*y;}*p; struct tt a[4]={20,a+1,15,a+2,30,a+3,17,a} main() { int i; p=a; for(i=1;i<=2;i++){printf("%d",p->x);p=P->y;} } 程序的运行结果是()。
有以下程序 include <string.h>main(){char p[20]={′a′, ′b′, ′c′, ′d′}, q[]="abc", r[]="abcde";strcat(p, r); strcpy(p+strlen(q), q);printf("%d\n",strlen(p));}程序运行后的输出结果是
有以下程序 main() { int a=666,b=888; Printf("%d\n",a,b) ; } 程序运行后的输出结果是
有以下程序includemain(){ char p[20]={'a','b','c','d'},q[ ]="abc",r[ ]="abcde';strcat(p,r) ;strcpy(p+strlen(q),q);printf("%d\n",strlen(p));}程序运行后的输出结果是
以下程序运行后的输出结果是includeintmain(){inta,b,c;a=10;b=20;c=(a%b<1)||(ab="">1);printf("%d,%d,%d",a%b,a/b,c);return0;}
第 20 题(); } 程序的运行结果是A.D B
有以下程序(strcat函数用以连接两个字符串)include<stdio.h>include<string.h>main(){char a[20]=”ABCD\0EFG\0”,b[]=”IJK”;strcat(a,b);printf(”%s\n”,a);}程序运行后的输出结果是()。
有以下程序: include<strintg.h> main { char p[20]={a,b,c,d),q[]="abc",r[]=" abcde"; strcpy(p+strlen(q),r);strcat(p,q); printf("%d%d\n",sizeof(p),strlen(p)); } 程序运行后的输出结果是()。
有以下程序片段,int a=1,b=3;while();程序运行后的输出结果是
已知字母A的ASCII码为65,以下程序运行后的输出结果是【 】。 main(); }
以下程序运行后输出的结果是______。 void main() int a,b,c; a=10;b=20;c=(a%b<1)||(a/b>1); printf("%d %d %d",a,b,c);