下列表达式中正确的是()。
A. struct person{ int age; char name[8]; char sex; }personl,person2;
B. struct person{ int age; char name[8]; char sex; } person personl,person2;
C. struct person{ int age; char name[8]; char sex; };personl,person2;
D. struct person{ int age; chat name[8]="WangLin"; char sex="M"; } person1
下列语句中可以完成建立2结点的单向链表的功能的选项是()。
A. head→next=new;new→next=head;
B. new→next=head;head=new;
C. new→next=head;head=new;new→next=Null;
D. head→next=Null;head→next=new;new→next=NULL;
若有以下定义: int a[]={1,2,3,4,5,6,7,8,9},*p=a; 则值为5的表达式是( )。
A. p+=4,*(p++)
B. p+=4,*++p
C. p+=5,*p++
D. p+=4,++*p