单项选择题下面程序的输出结果是( )。#include #include voidmain() { charp1[10],p2[10]; strcpy(p1, abc ); strcpy(p2, ABC ); charstr[50]= xyz : strcpy(str+2,strcat(p1,p2)); cout< }
单项选择题有以下结构体说明和变量的定义,且指针P指向变量a,指针q指向变量b。则不能把结点b连接到结点a之后的语句是()。 structnode {chardata; structnode*next; }a,b,*p=&a,*q=&b;
A.a.next=q; B.next=&b; C.p->next=&b; D.(*p).next=q;