單項(xiàng)選擇題

#include int f(int x){ int y;if(x==0||x==1) return(3);y=x*x-f(x-2);return y;}main(){ int z;z=f(3); printf("%d\n",z);}程序的運(yùn)行結(jié)果是

A.0
B.9
C.6
D.8
點(diǎn)擊查看答案&解析

你可能感興趣的試題


單項(xiàng)選擇題

To: Laura Godwin

From: Leigh Richards
Date: Monday, July 20
Subject: Stay at Renaissance Cleveland Hotel in Ohio
Date Ms. Laura Godwin,
Thank you for using Renaissance Cleveland Hotel during your visit in Ohio.
I trust you enjoyed your stay and had an opportunity to use many of our facilities, including our superb sauna, swimming pool, and newly remodeled restaurant. I would appreciate if you would complete a brief questionnaire evaluating our facilities and services.
For your convenience, the questionnaire is available online at www. clevelandopenlist.com. If you have any difficulty in accessing the questionnaire, please send comments directly to me at richards@ clevelandhotel .com.
Your comments will remain confidential and will be used only to help us improve our guest services.
Sincerely,
Leigh Richards
General Manager
To: Leigh Richards
From: Laura Godwin
Date: Friday, July 24
Subject: Re: Stay at Renaissance Cleveland Hotel in Ohio
Dear Mr. Leigh Richards,
As I was unable to access the questionnaire online, I am sending feedback on my hotel stay directly to you.
I was impressed by many of the facilities your hotel offers, but I especially enjoyed the state-of-the-art fitness center. It had three times as many machines as one normally finds in other hotels, and the 24-hour access made it possible for me to work out at any time I wished. Although I did not eat at European-style. restaurant, NoMi, I did order room-service dinners from there several times and was impressed with the quality of the meals. I was less enthusiastic about your business center, which could use a few more computers and a new copier. I was also disappointed in the lack of parking facilities.
Generally, I would say that the benefits of staying at your hotel far outweighed the disadvantages and that overall I had a pleasant week at the Renaissance Cleveland Hotel. As my job requires me to travel to Ohio frequently, I expect to become one of your regular guests.
Best regards,
Laura Godwin
What is the purpose of the e-mail from Renaissance Cleveland Hotel?
A.To ask for someone's opinion
B.To promote a special offer
C.To advertise a new hotel
D.To confirm reservations

單項(xiàng)選擇題

聽力原文: Britain has finally won a medal at the a...

聽力原文: Britain has finally won a medal at the athletics World Championships in Helsinki. The UK team came in third in the men's 4×100 metres relay to take a bronze medal. France came first and Trinidad & Tobago won silver. Britain's Jason Gardener, Marion Devonish, Mark Lewis-Francis and Christian Malcolm had been hoping for a gold after the U.S. team crashed out. The defending champions had failed to qualify after Mardy Scales and Leonard Scott made a mess of the first changeover. Britain's failure until now to win a single medal has been a major embarrassment for UK athletics.
Which country won the goal medal in the men's 4×100 metres relay?
A.Britain.
B.France.
C.Trinidad & Tobago.
D.The United States.