给定程序MODI1.C中函数Creatlink的功能是创建带头结点的单向链表,并为各结点数据域赋0~(m-1)的值。 请改正程序中的错误,使它能得出正确的结果。 注意:不要改动main函数,不得增行或删行,也不得更改程序的结构。 文件MODI1.C内容如下: #include<stdio.h> #include<stdlib.h> typedef struet aa int data; struct aa *next; NODE; NODE *Creatlink(int m) NODE *h=NULL,*p,*s; int i; /**********found**********/ P=(NODE)malloc(sizeof(NODE)); h=p; p->next=NULL; for(i=0;i<m;i++) s=(NODE *)malloc(sizeof(NODE)); s->data=i: s->next=p->next; p->next=s; p=p->next; /**********found**********/ return p; void outlink(NODE *h) NODE *p; p=h->next; printf("\n\nTHE LIST: \n\n HEAD"); while(p) printf("->%d",p->data); p=p->next; printf("\n"); void main() NODE *head; head=Creatlink(8); outlink(head);
查看答案
Questions 19 to 22 are based on the conversation you have just heard.
A. It helped students with spelling and adding.
B. It helped students become familiar with a variety of goods.
C. Students might order things from the catalog.
D. Schools were short of textbooks at that time.
阅读下面短文,从短文后所给的[A]、[B]、[C]三个选项中选出能填入相应空白处的最佳选项。 Every Saturday, Mr. Brown went (Example: (0) ) the market to buy food and other things. He put (41) in a big basket. He was old and weak, so he always (42) a man to carry the basket home for him. But one Saturday, while he (43) home in front of the man with (44) , the man ran away (45) it. The next week, when Mr. Brown went to the market again , a friend of his said , "Look, (46) ! That man took away your food last week ! " Mr. Brown at once ran behind a shop, and stayed there (47) the man left the market. His friend was very (48) , "Why did you do that. he asked. "Well, "said Mr. Brown, "that man was carrying my basket when he left me a week ago. He will want me to pay him for (49) , and that (50) me more than a basket full of food."
A. walked
B. was walking
C. left
阅读下面短文,从短文后所给的[A]、[B]、[C]三个选项中选出能填入相应空白处的最佳选项。 Every Saturday, Mr. Brown went (Example: (0) ) the market to buy food and other things. He put (41) in a big basket. He was old and weak, so he always (42) a man to carry the basket home for him. But one Saturday, while he (43) home in front of the man with (44) , the man ran away (45) it. The next week, when Mr. Brown went to the market again , a friend of his said , "Look, (46) ! That man took away your food last week ! " Mr. Brown at once ran behind a shop, and stayed there (47) the man left the market. His friend was very (48) , "Why did you do that. he asked. "Well, "said Mr. Brown, "that man was carrying my basket when he left me a week ago. He will want me to pay him for (49) , and that (50) me more than a basket full of food."
A. money
B. food
C. the basket
(五)某桥梁工程的施工项目经理部对投入施工现场的劳动力采用专业分工作业组合形式,在选择施工材料供应商时,采用对竞标供应商进行综合分析的方法选择了两家合格的材料供应商。在选择钻孔设备时考虑土质等因素后,选择了冲击钻机,水泥混凝土在运送时采用水泥混凝土搅拌运输车,这样可以保证混凝土不会产生离析现象,很好地保证了混凝土的浇筑质量。 问题 对竞标供应商的综合分析主要从哪些方面进行