若有以下程序 include<stdio.h> main(){ inta=0,b=0,c=0; c=(a-=++a),(a+=b,b+=4); pri
若有以下程序 include<stdio.h> main(){ inta=0,b=0,c=0; c=(a-=++a),(a+=b,b+=4); printf(%d,%d,%d\n,a,b,c);) 则程序的输出结果是
A.0,4,4
B.1,4,1
C.0,4,0
D.174,4
若有以下程序 include<stdio.h> main(){ inta=0,b=0,c=0; c=(a-=++a),(a+=b,b+=4); printf(%d,%d,%d\n,a,b,c);) 则程序的输出结果是
A.0,4,4
B.1,4,1
C.0,4,0
D.174,4
以下程序#include "stdio、h"main(){ char *p="ABCDEF",*q;q=p+3;printf("%s/n",q);}的输出结果是()。
以下程序运行后的输出结果是【 】。 include <stdio, h> main() char c1 ,c2; for(el = 0, c2 =9; e1<c2; c1 + + , c2 -- ) printf(" %c%c", c1, c2 ); printf("\n" ); }
以下程序运行后的输出结果是【 】。 include <stdio, h> main () { char a [ ] = "Language", b [ ]: "Programe"; char * pl, * p2; int k; p1=a;p2=b; for(k=0;k<=7;k++) if(* (p1 +k) == * (p2+k)) printf("% c", * (pi +k)); }
以下程序运行后输出结果是【 】。 include <stdio, h> main() { int a,b,c; a=10; b:20; c=(a%b<1) ‖ (a/b>1); printf("%d %d %d\n",a,b,c); }
以下程序运行后的输出结果是【 】。 include <stdio, h> include <string, h> main() { char ch[] ="abc".,x[3] [4]: int i: for(i=0;i<3:i ++) strcpy(x[i] ,ch): for(i =0;i<3:i++) printf("% s" ,&x[i] [i]); printf(" \n" ) }
以下程序运行后的输出结果是【 】。 include <stdio, h> main() { int a=3,b=4,c=5,t=99; if(b<a && a<c) t=a;a=c;c=t; if(a<e && b<c) t=b;b=a;a=t; printf("%d %d %d \n" ,a,b,e); }
以下程序运行后的输出结果是【 】。 include <stdio, h> main() { int a = 1,b =2,c =3; if(c = a) printf("% d \n" ,c); else printf("% d \n" ,b); }
以下程序运行后的输出结果是【 】。 include <stdio, h> include <stating, h> void fun(char * s,int p,int k) { int i; for(i=p;i<k-1;i++) s[i] =s[i+2]; } main() { char s [] = "abedefg"; fun(s,3 ,strlen(s) ); puts(s); }
以下程序运行后的输出结果是【 】 include <stdio, h> fun(int a) { int b = 0; static int c = 3; b++;c++; return(a + b + c); } main() int i,a = 5; for(i =0;i <3;i ++ ) prinff("% d% d" ,i,fun(a) ); printf(" \n" ); }
以下程序运行后输出结果是【 】。 include <stdio, h> void swap(int x.int y) { int t; t = x;x = y;y = t: printf("% d % d ",x,y); } main () { iht a=3,b=4: swap(a,b); prinff("% d % d" ,a,b); }