#include <stdio.h>
#define M 5
#define N M+M
main()
{ int k;
k=N*N*5; printf("%d/n",k);
}
[试题]以下程序的输出结果是_[19]_______#include <stdio.h>#define M 5#define N M+Mmain(){ int k;k=N*N*5; printf("%d/n",k);}
[试题]以下程序的输出结果是 _[12]_______ .#include <stdio.h>main(){ int i;for(i='a';i<'f';i++,i++) printf("%c",i-'a'+'A');printf("/n");}
[试题]以下程序的输出结果是 _[13]_______ .#include <stdio.h>#include <string.h>char *fun(char *t){ char *p=t;return(p+strlen(t)/2);}main(){ char *str="abcdefgh";str=fun(str);puts(str);}
[试题]以下程序的输出结果是 _[9]_______ .#include <stdio.h>main(){ int n=12345,d;while(n!=0){ d=n%10; printf("%d",d); n/=10;}}
[单选题]以下程序的输出结果是_________。 #include<stdio.h #defineFUDGE(y) 2.84+y #define PR(A) printf("%d",(int)(A) ) #definePRINT1(A) PR(A) ;putchar('/n') main() { int x=2; PRINT1(FUDGE(5)*X); }A.11B.12C.13D.15
[单选题]以下程序输出的结果是#include<stdio.h>#include<string.h>main(){ char w[][10]={"ABCD","EFGH","IJKL","MNOP"},k;for(k=1;k<3;k++) printf("%s/n",&w[k][k]);}A.ABCD FGH KLB.ABC EFG IJ MC.EFG JK 0D.FGH KL
[单选题]以下程序输出的结果是#include<stdio.h>#include<string.h>main(){ char w[][10]={"ABCD","EFGH","IJKL","MNOP"},k;for(k=1;k<3;k++) printf("%s/n",&w[k][k]);}A.ABCD FGH KLB.ABC EFG IJ MC.EFG JK 0D.FGH KL
[试题]试题10以下程序运行后的输出结果是______.#include <stdio.h>main(){char a;for(a=0; a<15; a+=5){putchar(a+’A’);}printf(“/n”);}
[试题]试题11以下程序运行后的输出结果是______.#include <stdio.h>void fun(int x){ if(x/5>0) fun(x/5)printf(“%d”, x);}main(){ fun(11); printf(“/n”);}
[试题]试题13以下程序运行后的输出结果是______.#include <stdio.h>main(){ int n[2], i, j;for(i=0; i<2;i++) n[i]=0;for(i=0; i<2; i++)for(j=0; j<2; j++) n[j]=n[i]+1;printf(“%d/n”, n[1]);}