网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

若有以下定义和语句 int a=4,b=3,*p, *q, *w; p=&a; q=&b; w=q; q=NULL; 则以下选项中错误的语句是

A.*q=0

B.w=p

C.*p=a;

D.*p=*w;


参考答案

更多 “ 若有以下定义和语句 int a=4,b=3,*p, *q, *w; p=a; q=b; w=q; q=NULL; 则以下选项中错误的语句是A.*q=0B.w=pC.*p=a;D.*p=*w; ” 相关考题
考题 若有一些定义和语句 include int a=4,b=3,*p,*q,*w; p=a; q=b; w=q; q 若有一些定义和语句 #include <stdio.h> int a=4,b=3,*p,*q,*w; p=a; q=b; w=q; q=NULL; 则以下选项中错误的语句是A.*q=0;B.w=p;C.*p=va;D.*p=*w;

考题 若有以下定义和语句:includeinta=4,b=3,*p,*q,*w;p=a; q=b; w=q; q=NULL;则 若有以下定义和语句: #include<stdio.h> int a=4,b=3,*p,*q,*w; p=a; q=b; w=q; q=NULL; 则以下选项中错误的语句是( )。A.*q=0;B.w=p;C.*p=a;D.*p=*w;

考题 若有以下定义和语句includeint a=4,b=3,*p,*q,*w;p=a;q=b;w=q;q=NULL;则以 若有以下定义和语句 #include<stdio.h> int a=4,b=3,*p,*q,*w; p=a;q=b;w=q;q=NULL; 则以下选项中错误的语句是A.*q=0;B.w=p;C.*p=a;D.*p=*w;

考题 若有以下定义和语句 int a=4.b=3.* p, * q, * w; p=a;q= b; w=q;q=NULL; 则以下选项中错误的语句是A.*q=0;B.w=p;C.*p=a;D.*p=* w;

考题 若有一些定义和语句include inta=4, b=3, *p,*q,*w;p=a;q=b;w=q;q=NULL;则 若有一些定义和语句 #include <stdio.h> int a=4, b=3, *p,*q,*w; p=a; q=b; w=q; q=NULL; 则以下选项中错误的语句是A.*q=0;B.w=p;C.*p=a;D.*p=*w;

考题 若有一些定义和语句: include inta=4,b=3,*p,*q,*w; p=a;q=b;w=q;q=NULL;则 若有一些定义和语句: #include <stdio.h> int a=4,b=3,*p,*q,*w; p=a; q=b; w=q; q=NULL; 则以下选项中错误的语句是( )。A.*q=0;B.w=p;C.*p=a;D.*p=*w;

考题 若有以下定义,则赋值正确的是______。 int a, b, *p; float c, *q;A.p=NULL;B.p=c;C.q=p;D.q=a;

考题 以下变量定义:int *p, q; 则p和q都是指针变量。

考题 1、若有定义: int a=2,*p=a,*q=p; 则以下非法的赋值语句是()。A.p=q;B.*p=*q;C.a=*q;D.q=a;