
有以下程序:#include<stdio.h>#define X 5+6main(){int a=2,c;C=X*2:printf("%d",C);}程序运行后
有以下程序: #include<stdio.h> #define X 5+6 main() {int a=2,c; C=X*2: printf("%d",C); } 程序运行后的输出结果是()。
A.17
B.22
C.16
D.11

有以下程序: #include<stdio.h> #define X 5+6 main() {int a=2,c; C=X*2: printf("%d",C); } 程序运行后的输出结果是()。
A.17
B.22
C.16
D.11
第1题
以下程序#include "stdio、h"main(){ char *p="ABCDEF",*q;q=p+3;printf("%s/n",q);}的输出结果是()。
第2题
A.12
B.15
C.6
D.5
第3题
A.741
B.963
C.852
D.875421
第4题
(21 )有以下程序
# include (stdio.h >
main ()
{ int a = l ; b = 2 ;
for (; a < 8 ; a++ ) { b+=a ; a+=2 ; }
printf (" %d , %d \ n ", a , b ) ;
}
程序运行后的输出结果是
A ) 9 , 18
B ) 8 , 11
C ) 7 , 11
D ) 10 , 14
第5题
A.2,1
B.2,0
C.3,1
D.6,1
第6题
有以下程序
#include
main()
{
int y=9 ;
for(; y>0 ; y--)
if(y%3==0 ) printf("%d" , --y) ;}
程序的运行结果是_____
第7题
A.741
B.963
C.852
D.875421
第8题
有以下程序: #include<stdio.h> void fun(char *a,char*B){while(*a=='*')a++; while(*b=*A){b++;a++;} } main() {char*s="****a*b****",t[80]; fun(s,t);puts(t); } 程序的运行结果是()。
A.*****a*b
B.a*b
C.a*b****
D.ab
第9题
A.14.0
B.31.5
C.7.5
D.程序有错无输出结果
第10题
A.-11 is a positive odd number.
B.-11 is a negative odd number.
C.-11 is a positive even number.
D.11 is a negative even number.
第11题
(33 )有以下程序
#include <studio.h>
int f (int t[],int n ) ;
main
{ int a[4]={1,2,3,4},s;
s=f (a,4 ) ; printf (" %d\n " ,s ) ;
}
int f (int t[],int n )
{ if (n>0 ) return t[n-1]+f (t,n-1 ) ;
else return 0 ;
}
程序运行后的输出结果是
A ) 4
B ) 10
C ) 14
D ) 6