问题 单项选择题

下列关于运算符函数的叙述中,错误的是

A.运算符函数的名称总是以operator为前缀

B.运算符函数的参数可以是对象

C.运算符函数只能定义为类的成员函数

D.在表达式中使用重载的运算符相当于调用运算符重载函数

答案

参考答案:C

解析: 运算符函数可以重载为成员函数,也可以重载为非成员函数,如重载为友元函数。

问答题
单项选择题

Among various programmes, TV talk shows have covered every inch of space on daytime television. And anyone who watches them regularly knows that each one is different in style. But no two shows are more opposite in content, while at the same time standing out above the rest, than the Jerry Springer and the Oprah Winfrey shows.

Jerry Springer could easily be considered the king of" rubbish talk". The contents on his show are as surprising as can be. For example, the show takes the ever-common talk show titles of love, sex, cheating, and hate, to a different level. Clearly, the Jerry Springer show is about the dark side of society, yet people are willing to eat up the troubles of other people’s lives.

Like Jerry Springer, Oprah Winfrey takes TV talk show to its top. But Oprah goes in the opposite direction. The show is mainly about the improvement of society and different quality of life. Contents are from teaching your children lessons, managing your work week, to getting to know your neighbors.

Compared to Oprah, the Jerry Springer show looks like poisonous waste being poured into society. Jerry ends every show with a" final word". He makes a small speech about the entire idea of the show. Hopefully, this is the part where most people will learn something very valuable.

Clean as it is, the Oprah show is not for everyone. The show’s main viewers are middleclass Americans. Most of these people have the time, money, and ability to deal with life’s tough problems. Jerry Springer, on the other hand, has more of a connection with the young adults of society. These are 18 to 21 year olds whose main troubles in life include love, relationship, sex, money and drug. They are the ones who see some value and lessons to be learned through the show’s exploitation.

Though the social problems Jerry Springer talks about appear unpleasant, people who watch the shows()

A. remain interested in them

B. are ready to face up to them

C. remain cold to them

D. are willing to get away from them