单项选择题
有以下程序 #include
main() { char a=4; printf("%d\n",a=a<<1); } 程序的运行结果是
A.40
B.16
C.8
D.4
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
假定已建立以下链表结构,且指针p和q已指向如图所示的结点: 则以下选项中可将q所指结点从链表中删除并释放该结点的语句组是()
A.(*P).next=(*q).next;free(P);
B.P=q->next;free(q);
C.P=q;free(q);
D.p->next=q->next;free(q);
点击查看答案&解析
单项选择题
有以下程序#include struct st{int x,y;} data[2]={1,10,2,20};main(){ struct st *p=data;printf( %d, ,p->y); printf( %d n (++p)->x);}程序的运行结果是
A.10,1
B.20,1
C.10,2
D.20,2
点击查看答案&解析
相关试题
有以下程序 #include <stdio.h> mai...
有以下程序 #include <stdio.h> #d...
有以下程序 #include <stdio.h> int...
有以下程序 #include <stdio.h> mai...
有以下程序 #include <stdio.h> voi...