【单选题】【消耗次数:1】
已知小写字母的ASCII码为97,对于inta=99,b=b;printf(“%c,%d”,a,b);的结果是()
99,b
c,98
99,98
c,b
参考答案:
复制
纠错
相关题目
【单选题】 英文小写字母“b”和大写字母“B”的十六进制ASCII码值相差()。
①  10H
②  20H
③  30H
④  40H
【单选题】 下列程序执行后的输出结果是 #includevoid main( ) { int a=5,b=60,c; if (ab) {c=a*b;printf(%d*%d=%d\n,b,a,c);} else {c=b/a;printf(%d/%d=%d\n,b,a,c);} }
①  60/5=12
②  300
③  60*5=300
④  12
【单选题】 下列程序执行后的输出结果是________. #include stdio.h void main( ) { int a=5,b=60,c; if (ab) {c=a*b;printf(%d*%d=%d\n,b,a,c);} else {c=b/a;printf(%d/%d=%d\n,b,a,c);} }
①  60/5=12
②  300
③  60*5=300
④  12
【单选题】 下列程序执行后的输出结果是_______.#include stdio.h void main( ) { int a=5,b=60,c; if (ab) {c=a*b; printf(%d*%d=%d\n,b,a,c);} else {c=b/a; printf(%d/%d=%d\n,b,a,c);} }
①  60/5=12
②  300
③  60*5=300
④  12
【单选题】 若变量已正确定义,有以下程序段int a=3,b=5,c=7;if(ab)a=b;c=a;if(c!=a)c=b;;printf(%d,%d,%d\na,b,c)其输出结果是
①  语法错误
②  3,5,3
③  3,5,5
④  3,5,7
【单选题】 以下程序的运行结果是:main){intk=4,a=3,b=2,c=;printf\n%d\n,k<a?k:c<b?c:a);}
①  4
②  3
③  2
④  1
【单选题】 inta=1,b=2,c=3; if(a>b)a=b; if(a>c)a=c; 则a的值为().
①  1
②  2
③  3
④  不一定
【单选题】 已知大写字母“A”的ASCII码值为(65)10,则小写字母“a”的ASCII码值是()。
①  21H
②  61H
③  93H
④  2FH
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=4,b=3,c=5,t=0; if(aa=b;b=t; if(aa=c;c=t; printf(%d,%d,%d\n,a,b,c); }
①  5,1,3
②  4,5,6
③  5,0,3
④  3,4,7
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=4,b=3,c=5,t=0; if(aa=b;b=t; if(aa=c;c=t; printf(%d,%d,%d\n,a,b,c); }
①  5,0,3
②  4,5,6
③  5,1,3
④  3,4,6
随机题目
【单选题】 12.I am busy today. Maybe we can have lunch together _______other day.
①  any
②  each
③  some
④  every
【单选题】 28. I have no intention ________ lending Dan any more money.
①  to
②  in
③  for
④  of
【单选题】 11. He is really worried about his daughter as she is ______to him.
①  anything
②  everything
③  something
④  nothing
【单选题】 3.In the few months of the war his army seemed ______ , but soon it met its Waterloo.
①  strong
②  . vincible
③  invincible
④  popular
【单选题】 4. Many heads of the state attended the celebration ____ the tenth anniversary of the founding of the country.
①  marking
②  recognizing
③  counting
④  happen
【单选题】 20.Old Tom is _____the weather for a day or two.
①  above
②  for
③  in
④  under
【单选题】 17._____ of English is essential for those who apply for the post.
①  Good knowledge
②  A good knowledge
③  Good knowledges
④  The good knowledge
【单选题】 14.We should plant trees on _______ side of the road.
①  each
②  some
③  every
④  many
【单选题】 5. As he is recovering, he has grown more confident and _______ about life.
①  pessimistic
②  positive
③  negative
④  interested
【单选题】 8.She no longer has that______ smile as before, but instead carries the sad look of a mother who has just lost her son.
①  careless
②  carefree
③  interested
④  sick