试题与答案

有以下程序: #include <stdio.h> struct STU

题型:问答题

题目:

有以下程序:
#include <stdio.h>
struct STU
char name[10];
int num;
int Score;
;
main()
struct STU s[5]="YangSan",20041,703,"LiSiGuo",20042,580,
"WangYin",20043,680,"SunDan",20044,550,
"Penghua",20045,537, *p[5],*t;
int i,j;
for(i=0;i<5;i++) p[i]=&s[i];
for(i=0;i<4;i++)
for(j=i+1;j<5;j++)
if(p[i]->Score>p[j]->Score)
t=p[i];p[i]=p[j];p[j]=t;
printf("%d%d\n",s[1].Score,p[1]->Score);

执行后的输出结果是( )。

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2019/0409/73779258f9a3a365fb525a8b1b371bb1.html

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

参考答案:A解析: 本题考查域名解析的过程,一个主机发出DNS查询报文时,这个查询报文首先被送往该主机的本地域名服务器。当本地域名服务器不能立即回答某个主机的查询时,该本地域名服务器就以DNS客户的身份向...

试题推荐
题型:单项选择题

In the United States, the first day nursery was opened in 1854. Nurseries were established in various areas during the (91) half of the 19th century; most of (92) were charitable. Both in Europe and in the U. S. , the day-nursery movement received great (93) during the First World War, when (94) of manpower caused the industrial employment of unprecedented numbers of women. In some European countries nurseries were established (95) in munitions (军火)plants, under direct government sponsorship. (96) the number of nurseries in the U.S. also rose (97) , this rise was accomplished without government aid of any kind. During the years following the First World War, (98) , Federal, State, and local governments gradually began to exercise a measure of control (99) the day nurseries by (100) them and by inspecting and regulating the conditions within the nurseries.
The (101) of the Second World War was quickly followed by an increase in the number of day nurseries in almost all countries, as women were (102) called upon to replace men in the factories. On this (103) the U. S. government immediately came to the support of the nursery schools, (104) $6,000,000 in July, 1942, for a nursery school program for the children of working mothers. Many States and local communities (105) this Federal aid. By the end of the war, in August, 1945, more than 100,000 children were being cared (106) in day-care centers receiving Federal (107) Soon afterward, the Federal government (108) cut down its expenditures for this purpose and later (109) them, causing a sharp drop in the number of nursery schools in operation. However, the expectation that most employed mothers would leave their (110) at the end of the war was only partly fulfilled.

A.nurseries

B.homes

C.jobs

D.children

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