【单选题】有四组对指针变量进行操作的语句 以下判断正确的选项是()。 (1)int *p *q;q=p; int a *p

大学网课 已帮助 人

【单选题】有四组对指针变量进行操作的语句,以下判断正确的选项是()。 (1)int *p,*q;q=p; int a,*p,*q;p=q=&a; (2)int a,*p,*q;q=&a;p=*q; int a=20,*p;*p=a; (3)int a=b=0,*p;p=&a;b=*p; int a=20,*p,*q=&a;*p=*q; (4)int a=20,*p,*q=&a;p=q; int p,*q;q=&p;

A.正确:(1) 不正确:(2),(3),(4)

B.正确:(1),(4) 不正确:(2),(3)

C.正确:(3) 不正确:(1),(2),(4)

D.以上结论都不正确

【单选题】有四组对指针变量进行操作的语句 以下判断正确的选项是()。 (1)int *p *q;q=p; int a *p

热搜:unix是一种多用户单任务的操作系统