彭德怀同志故居位于()西南的乌石镇,距市区40多千米。
A.长沙县
B.宁乡县
C.望城县
D.湘潭县
参考答案:D
请编写函数fun(),它的功能是:将带头结点单向链表按data域由大小排序(排序时不考虑头结点),主函数用随机函数为各结点data域赋值,头结点data域赋值为0。 注意:部分原程序给出如下。 请勿改动主函数main和其他函数中的任何内容,仅在函数fun的花括号中填入所编写的若干语句。 [试题源程序] #include <stdio.h> #include <conio.h> struct aa int data; struct aa*next; ; void fun(struct aa*p) main() int i,n,m=100; struct aa*h=NULL,*s=NULL, *p=NULL; clrscr(); S=(struct aa*)malloc(sizeof(struct aa)); h=s;h->data=0;h->next=NULL; printf("Please input n:"); scanf("%d",&n); for(i=1;i<=n;i++) p=(struct aa*)malloc(sizeof(struct aa)); p->data=rand()%m;p->next=NULL; printf("%d",p->data); s->next=p;s=s->next; fun(h); printf("\n"); for(h=h->next;h!=NULL;h=h->nnext) printf("%d",h->data);
关于痢疾杆菌,下列哪项是正确的()
A.为革兰阴性杆菌,有鞭毛
B.可在普通培养基上生长,为需氧菌
C.在外界生存时间甚短
D.对理化因素抵抗力强
E.产生外毒素和内毒素