若有以下程序 include<stdio.h> main(){ inta=-11.b=10; a/=b/=4: printf(%d%d\n,a,b);
若有以下程序 include<stdio.h> main(){ inta=-11.b=10; a/=b/=4: printf(%d%d\n,a,b);} 则程序的输出结果是
A.-1-2
B.5-2
C.4-3
D.41762
若有以下程序 include<stdio.h> main(){ inta=-11.b=10; a/=b/=4: printf(%d%d\n,a,b);} 则程序的输出结果是
A.-1-2
B.5-2
C.4-3
D.41762
以下程序的输出结果是 ______。 #include<stdio> main() {int a=200; #define a 100 printf("%d",a) ; #undefa printf("%d",a) ; }
A.200 100
B.100 100
C.100 200
D.200 200
以下程序#include "stdio、h"main(){ char *p="ABCDEF",*q;q=p+3;printf("%s/n",q);}的输出结果是()。
以下程序运行后输出结果是【 】。 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>void sum(int a[ ] ){ a[0]=a[-1] +a[1];}main (){ int a[10] = {1,2,3,4,5,6,7,8,9,10}; sum(&a[2]); prinff("% d \n",a[2]); }程序运行后的输出结果是()。
A.6
B.7
C.5
D.8
以下程序运行后的输出结果是【 】。 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> 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 =666,b =888; printf("%'d \n", a,b); 程序运行后的输出结果是()。
A.错误信息,
B.666
C.888
D.666,888
有以下程序:#include <stdio, h>main(){ char a1 ='M',a2 ='m'; printf("%c\n",(a1,a2)); } 以下叙述中正确的是()。
A.程序输出大写字母M
B.程序输出小写字母m
C.格式说明符不足,编译出错
D.程序运行时产生出错信息
有以下程序: #include <stdio, h> main() { int m =0256,n =256; printf("% o % o \n" ,m,n); 程序运行后的输出结果是() 。
A.0256 0400
B.0256 256
C.256 400
D.400 400
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!