问题 单项选择题

有以下程序: main() { int a[]={1,2,3,4,5,6,7,8,9,0},*p; for(p=a;p<a+10,p++)printf("%d,",*p); } 程序运行后的输出结果是【 】。

A.1,234,5,6,7,8,9,0,

B.2,3,4,5,6,7,8,9,10,1,

C.01,23,4,5,6,7,8,9,

D.1,1,1,1,1,1,1,1,1,1,

答案

参考答案:A

解析:C语言规定数组变量名代表数组的首地址,即第0号元素的地址。本题将a数组中的值全部输出,即为1,2,3,4,5,6,7,8,9,0,。

单项选择题

I first went to hear a live rock concert when I was eight years old. My brother and his friends were all fans of a heavy metal group called Black Wednesday. When they discovered that Black Wednesday were going to perform at our local theatre, they all bought (21) for the performance. However, at the last minute, once of the friends couldn’t go, so my brother offered me the ticket. I was really excited!

I remember the buzz (嘈杂声) of excitement inside the theatre as we all found our seats. After a few minutes, the lights went down and everybody became quiet. I could barely make out the stage in the (22) . We waited. Then there was a roar from the crowd, like an explosion, as the first members of the band stepped onto the stage. My brother leaned over and shouted something in my ear, but I couldn’t hear what he was saying. The first song was already starting and the music was as (23) as a jet engine. I could (24) the drum beats and bass notes in my stomach.

I can’t recall any of the songs that the band played. I just (25) that I really enjoyed the show and didn’t want it to (26) . But in the end, after three encores (加演), the show finished. We left the (27) and walked unsteadily out onto the pavement. I felt a little dizzy, as if I had just woken from a long sleep. My ears were still (28) with the beat of the last song.

After the (29) , I became a Black Wednesday fan too for a few years before getting into other kinds of music. Once in a while, though, I listen to one of their songs and (30) I’m back at that first show.

27()

A.party 

B.theatre 

C.opera 

D.stage

单项选择题