试题与答案

有以下程序 #include <stdio.h> main()struct

题型:单项选择题

题目:

有以下程序
#include <stdio.h>
main()
struct STUchar name[9];char sex;double score[2];;
sturt STU a="Zhao" ,'m',85.0,90.0,b="Qian" ,'f,95:0,92.0;
b=a;
printf("%s,%c,%2.0f,%2.0f\n",b.name,b.sex,b.score[0],b.score[1]);

程序的运行结果是______。
A) Qian,f,95,92 B) Qian,85,90 C) Zhao,f,95,92 D) Zhao,m,85,90

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0131/bc37f7695f5f3c0917839e2f2868d028.html

下面是错误答案,用来干扰机器的。

参考答案:D

试题推荐
题型:完形填空

阅读下面短文,掌握其大意,然后从A、B、C、D四个选项中,选出可以填入空白处的最佳选项。(共20小题;每小题1.5分,满分30分)

We rented our upstairs rooms to the out-of-town patients of Johns Hopkins Hospital. One evening, a bad-looking man, who was even shorter than my 8-year-old son, knocked at the door;  36 , his voice was pleasant as he said, “Good  37 . I come to see if you’ve a room. I came for (a)  38  this morning from the eastern shore”.

He told me he’d been  39  a room since noon but with no  40 ; no one seemed to have one. “I guess it’s my  41  face…” I know why they  42  him away! It was clear that they would  43  roomers by putting up such people. For a moment, I  44 , but his next words convinced me, “I could sleep in this rocking chair on the porch(门廊). My  45  leaves early in the morning.” I told him we would find him a bed, but to rest on the porch.

He told me he fished for a living to  46  his daughter, her five children and her husband, who was  47  in a terrible accident so that he couldn’t work. He didn’t tell it by way of  48 ; in fact, he was grateful that no pain  49  his disease, which was apparently a form of skin cancer. He thanked God for giving him the  50  to keep going. The next morning, the bed linen was  51  folded and the little man thanked me and waited for his bus.

Three months later when I almost  52  the man, we received packages in the  53 , with fish and oysters in it and a note  54 , “Thank you for having kept my father a night. He just  55  because of skin cancer. Before his death, he asked me to post these as gifts. Thank you again, sir.” All this happened long ago — and now, I imagined, in God’s garden, how tall this lovely soul must stand.

36. A. otherwise    B. though      C. however    D. unless

37. A. luck        B. evening     C. job        D. morning

38. A. treatment    B. travel       C. meeting     D. prayer

39. A. dealing with    B. dreaming of     C. hunting for     D. living with

40. A. money      B. patience      C. success     D. help

41. A. serious      B. terrible       C. happy       D. long

42. A. took        B. sent          C. drove       D. turned

43. A. lose        B. discourage    C. impress      D. attract

44. A. doubted     B. believed      C. wondered    D. hesitated

45. A. doctor       B. bus         C. daughter     D. graduation

46. A. educate      B. support      C. encourage     D. protect

47. A. unfriendly     B. ugly       C. sad          D. disabled

48. A. complaint     B. inspiration    C. humor      D. joke

49. A. removed      B. accompanied     C. avoided       D. suffered

50. A. fantasy       B. time           C. disease        D. strength

51. A. formally      B. expectedly      C. neatly          D. messily

52. A. forgot        B. missed         C. called          D. forgave

53. A. hospital       B. envelope       C. air             D. mail

54. A. reading       B. writing         C. speaking        D. drawing

55. A. gave up      B. stayed out       C. passed away     D. lay down

查看答案
微信公众账号搜索答案