题目内容
(请给出正确答案)
[主观题]
设有两个串p和q,求q在p中首次出现的位置的运算称作模式匹配。()
设有两个串p和q,求q在p中首次出现的位置的运算称作模式匹配。()
A、错误
B、正确
答案
查看答案
A、错误
B、正确
第6题
A.方法F1无法被访问
B.只有在类O内才能访问方法F1
C.只有在类P内才能访问方法F1
D.只有在类Q内才能访问方法F1
第7题
A.int p, *q; q=&p;
B.int *p, *q; q=p=NULL;
C.int a=5, *p; *p=a;
D.int a=5, *p=&a, *q=&a; *p=*q;"
第9题
A.s->next=p->next;p->next=s;
B.q->next=s;s->next=p;
C.p->next=s-next;s->next=p;
D.p->next=s;s->next=q;
第10题
A.q=p->next;p->next=q->next;free(q);
B.p=p->next;p->next=p->next->next;free(p);
C.p=p->next->next;free(p->next);
D.p->next=q->next;free(p->next);
第11题
A.p->next=s; s->next=q;
B.s->next=p->next; p->next=s;
C.p->next=s->next; s->next=p;
D.q->next=s; s->next=p;