下面程序的输出结果是()。void fun(int a, int b, int c){ a=456; b=567; c=678;}main(){ int x=10, y=20, z=30;fun(x,y,z);printf("%d,%d,%d\n",x,y,z);}
A. 30,20,10
B. 10,20,30
C. 678,567,456
D. 456,567,678
下面的程序中有错误(每行程序前面的数字是行号)。1 #include 2 void main()3 {4 float a[3]={0,0};5 int i;6 for(i=0;i<3;i++) scanf("%d",a[i]);7 for(i=1;i<3;i++) a[0]=a[0]+a[i];8 printf("%f\n",a[0]);9 }
A. 没有
B. 第4行中3个数只赋值了2个数
C. 第6行a[i]前加&符号
D. 第8行%f改为%d
listen to the passage three times and fill the blanks.[音频]People joke that no one in Los Angeles reads,everyone watches TV, rents videos, or goes to the movies. The most popular reading materials are 1) ____ books, movie magazines, and TV guides.City libraries have only 10 percent of the 2)____ that car washes have. But how do you explain this? A yearly book festival in west Los Angeles is 3)_____ “sold out"year after year. People wait half an hour for a parking space to become 4)____.This outdoor festival, supported by a newspaper, takes place every April for one weekend. This year, about 70,000 people 5)_______the festival on Saturday and 75,000 on Sunday. The festival 6)_____280 exhibitors. There were about 90 talks given by authors, with an7)____ question-and-answer period following each talk. A food court sold all kinds of local foods, from hotdogs to ice drinks. Except for a $7 parking fee, the festival was 8) ____.Even So, some people take their own sandwiches and drinks to avoid the high prices of the food court.The idea for holding the festival in Los Angles was 9) ______years ago, but nobody knew if it would succeed. Although book festivals were already popular in other US cities, would people in this city 10)____ one?"Fortunately, they do.” said one of the festival founders.
Questions 8-11 are based on the conversation you have just heard.[音频]8.A) It will be produced at Harvard UniversityB) It will be hosted by famous professorsC) It will cover different areas of scienceD) It will focus on recent scientific discoveries9. A) It will be more futuristicB) It will be more systematicC) It will be more entertaining.D) It will be easier to understand10. A) People interested in scienceB) Youngsters eager to exploreC) Children in their early teensD) Students majoring in science11. A) Offer professional adviceB) Provide financial supportC) Help promote it on the InternetD) Make episodes for its first season