问题 单项选择题

有如下说明:
int a[10]=1,2,3,4,5,6,7,8,9,10,*p=a;
则数值为9的表达式是( )。

A.*p+9

B.*(p+8)

C.*p+=9

D.p+8

答案

参考答案:B

解析: 数组元素a[0]可以用表达式。(p+0),即*p来引用;数组元素a[1]可以用表达式*(p+1)来引用,在这里,p+1的值就是数组元素a[1]的地址,*(p+1)就代表存储单元 a[1],这里的一对圆括号不可少。同样,数组元素a[9]可以用表达式。(p+9)引用。因此,当指针变量p指向a数组的起始地址时,若0≤i<10,则数组元素a[i]可以用*(p+i)来表示。

单项选择题

"This is a really exciting time—a new era is starting," says Peter Bazalgette, the chief creative officer of Endemol, the television company behind "Big Brother" and other popular shows. He is referring to the upsurge of interest in mobile television, a nascent industry at the intersection of telecoms and media which offers new opportunities to device-makers, content producers and mobile- network operators. And he is far from alone in his enthusiasm.

Already, many mobile operators offer a selection of television channels or individual shows, which are " streamed" across their third-generation (3G) networks. In South Korea, television is also sent to mobile phones via satellite and terrestrial broadcast networks, which is far more efficient than sending video across mobile networks; similar broadcasts will begin in Japan in April. In Europe, the Italian arm of 3, a mobile operator, recently acquired Canale 7, a television channel, with a view to launching mobile-TV broadcasts in Italy in the second half of 2006. Similar mobile-TV networks will also be built in Finland and America, and are being tested in many other countries.

Meanwhile, Apple Computer, which launched a video-capable version of its iPod portable music-player in October, is striking deals with television networks to expand the range of shows that can be purchased for viewing on the device, including "Lost", "Desperate Housewives" and "Law & Order". TiVo, maker of the pioneering personal video recorder (PVR), says it plans to enable subscribers to download recorded shows on to iPods and other portable devices for viewing on the move. And mobile TV was one of the big trends at the world’s largest technology fair, the Consumer Electronics Show, which took place in Las Vegas this week.

Despite all this activity, however, the prospects for mobile TV are unclear. For a start, nobody really knows if consumers will pay for it, though surveys suggest they like the idea. Informa, a consultancy, says there will be 125 million mobile-TV users by 2010. But many other mobile technologies inspired high hopes and then failed to live up to expectations. And even if people do want TV on the move, there is further uncertainty in three areas: technology, business models and the content itself.

Paragraph 2 is written to()

A. indicate the test of mobile-TV networks

B. illustrate the widespread interests in mobile TV

C. stress the selection of television channels

D. assess the third-generation (3G) networks

单项选择题