![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
有以下程序()
A.#include
B.y=-1
C.y=0
D.y=1
E.while构成无限循环
![](https://static.youtibao.com/asksite/comm/h5/images/m_q_a.png)
A、#include
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.#include
B.y=-1
C.y=0
D.y=1
E.while构成无限循环
A、#include
有以下程序 #include <stdio.h> int fun(int a, int b) { if(b==0) return a; else return(fun(-a,-b)); } main() { printf("%d\n",fun(4,2)); } 程序的运行结果是______。
A.1
B.2
C.3
D.4
A.ABCDE\0FG\0IJK
B.ABCDIJK
C.IJK
D.EFGIJK
A.6
B.8
C.12
D.10
有以下程序: #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
A.741
B.963
C.852
D.875421
(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
有以下程序 #include"iostream.h" void main() { int i=1,j=1,k=2; if((j++||k++)&&i++) cout < < i < < "," < < j < < "," < < k; cout< <end1; } 执行后输出结果是
A.1,1,2
B.2,2,1
C.2,2,2
D.2,2,3
A.6 1
B.7 0
C.6 3
D.7 1