【单选题】【消耗次数:1】
main(){char a[]=Money;printf(%c,a[0]);}执行上面的程序段后,输出结果是()。
M
Money
m
Mon
参考答案:
复制
纠错
相关题目
【单选题】 下面程序执行后的结果是() #include stdio.h int m=0; void fun( ) { m++; } void main( ) { m++; fun( ); m++; printf(%d,m); }
①  0
②  1
③  2
④  3
【简答题】 下面程序段的运行结果是[填空1]。char c[5]={a,b,\0,c,\0};printf(%s,c);
【单选题】 有以下程序,执行后输出结果是() main( ) { int m[][3]={1,4,7,2,5,8,3,6,9}; int i,j,k=2; for(i=0;i { printf(%d ,m[k][i]); } }
①  4 5 6
②  2 5 8
③  3 6 9
④  7 8 9
【单选题】 以下程序运行结果是( )。 Main() {int if(m++5) printf(%d\n else printf(%d\n,m--); }
①  4
②  5
③  6
④  7
【单选题】 以下程序的运行结果是: main() {int m=5; if(m++5) printf(%d\n else printf(%d\n,m--); }
①  4
②  5
③  6
④  7
【简答题】 下列程序的输出结果是[填空1]。#includestdio.hmain(){ char a;a=0printf(%d%c,a,a); }
【单选题】 以下程序执行后输出结果是() #include stdio.h main( ) { char s[]=\n123\\; printf(%d,%d\n,strlen(s),sizeof(s)); }
①  赋初值的字符串有错
②  6,7
③  5,6
④  6,6
【单选题】 执行下列程序后的输出结果是()。#includecharf(chars[],intn){return(s[n]);}main(){chara[]=ABCD;printf(%c,f(a,2)+1);}
①  D
②  C
③  B
④  A
【单选题】 有如下程序: #includevoid main( ) { int a=2,b=-1,c=2; if (ab) if (b0) c=0; else c++; printf(%d\n } 该程序的输出结果是
①  0
②  1
③  2
④  3
【单选题】 下述程序的运行结果( )。 #includevoid main() { char ch; int i=0; for(ch=achzch++) { printf(%c ,ch); if(i%10==0) printf(\n } printf(\n }
①  a b c d e f g h i j k l m n o p q r s t u v w x y z
②  a b c d e f g h i j k l m n o p q r s t u v w x y z
③  a b c d e f g h i j k l m n o p q r s t u v w x y z
④  a b c d e f g h i j k l m n o p q r s t u v w x y z
随机题目
【单选题】 30.This house will probably come on the ____next month.
①  fair
②  market
③  shop
④  store
【单选题】 29.____me most was that the young boy who had lost both arms in an accident could handle a pen with his feet. 
①  That amazed
②  It amazed
③  Which amazed
④  What amazed
【单选题】 26. Which of the following is INCORRECT?
①  Another two girls
②  Few words
③  This work
④  A bit of flowers
【单选题】 2.Should any critical issue _______ the negotiation with foreign company, immediately report to the manager for advice.
①  arise from
②  interact
③  ensure
④  . make
【单选题】 3.It is impossible for a man like him to bear the ______ of being suspected as a thief.
①  fame
②  stigma
③  reputation
④  mark
【单选题】 7.Children learn how to______ with others by playing with their friends.
①  interact
②  talk
③  involve
④  . absorb
【单选题】 27.The city council is planning a huge road-building programme to ease congestion. The underlined part means _____.
①  calm
②  relieve
③  comfort
④  still
【单选题】 10.Mother advised him that Tom is not a good guy to ______.
①  associate with
②  care about
③  touch
④  be concerned with
【单选题】 18.He told me he saw it , but _____fact he wasn’t really there.
①  in point of
②  at point of
③  about point of
④  from point of
【单选题】 21.Sex education in primary school is still a big _____ in China today.
①  question
②  issue
③  problem
④  event