答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
若有语句:inta=4,p=&a;,下面均代表地址的一组选项是()
①
a,p,*a
②
*a,a,p
③
a,p,*p
④
*p,p,a
参考答案:
复制
纠错
相关题目
【单选题】
若有定义:int*p,k=4;p=以下均代表地址的是()。
①
k,p
②
k,p
③
k,p
④
k,*p
查看完整题目与答案
【单选题】
若已定义inta=5;下面对(1)int*p=&a;(2)*p=a;两个语句的正确解释是()
①
语句(1)和(2)中的*P含义相同,都表示给指针变量p赋值
②
语句(1)和语句(2)的执行结果,都是把变量a的地址值赋给指针变量p
③
语句(1)在对p进行说明的同时进行初始化,使p指向a,语句(2)将变量a的值赋给指针变量p
④
语句(1)在对p进行说明的同时进行初始化,使p指向a,语句(2)将变量a的值赋于*p
查看完整题目与答案
【单选题】
若有说明:int n=2,*p=&n,*q=p,则以下非法的赋值语句是:()
①
p=q
②
*p=*q
③
n=*q
④
p=n
查看完整题目与答案
【判断题】
若有P(AB)=P(A)P(B),则事件A与B独立。
①
正确
②
错误
查看完整题目与答案
【单选题】
若已定义:inta[9],*p=a;并在以后的语句中未改变p的值,不能表示a[1]地址的表达式为( )。
①
p+1
②
a+1
③
a++
④
++p
查看完整题目与答案
【单选题】
intn=0,*p=&n,**q=&p;则正确的赋值语句是()
①
p=1;
②
*q=2;
③
q=p;
④
*p=5;
查看完整题目与答案
【单选题】
若已定义:inta=5,*p;且p=则以下表示中不正确的是()。
①
a==(*p)
②
*(p)==a
③
(*p)==p
④
*(a)==a
查看完整题目与答案
【多选题】
若“所有S是P”与“所有P是S”均假,则S与P在外延具有()关系或()关系。
①
全同
②
S真包含P
③
全异
④
交叉
查看完整题目与答案
【单选题】
指针变量p1、p2类型相同,要使p2、p1指向同一变量,哪一个语句是正确的()。
①
p2=*p1;
②
p2=**p1;
③
p2=p1;
④
p2=*p1;
查看完整题目与答案
【简答题】
若有p=*p=1,则a的值是[填空1]。
查看完整题目与答案
随机题目
【单选题】
1.When hewas a boy, he used to go there and watch____.
①
to repair bicycles
②
bicycles to be repaired
③
bicycles being repaired
④
repairing bicycles
查看完整题目与答案
【单选题】
11.It was getting dark. I found a car____in a pool by the side of the road.
①
to be stuck
②
stuck
③
sticking
④
stick
查看完整题目与答案
【单选题】
11.Mrs. Black has got ____ instead of getting any better.
①
more bad
②
a little worse
③
much badly
④
a lot of worse
查看完整题目与答案
【单选题】
2. When we speak to people, we should be ___.
①
as polite as possible
②
as polite as possibly
③
as politely as possible
④
as politely as possibly
查看完整题目与答案
【单选题】
7. This pencil is ____than that one.
①
longest
②
long
③
longer
④
as long
查看完整题目与答案
【单选题】
16. The jacket was so ____ that he decided to buy it.
①
much
②
little
③
expensive
④
cheap
查看完整题目与答案
【单选题】
17. Our classroom is ____ larger than theirs.
①
more
②
quite
③
very
④
much
查看完整题目与答案
【单选题】
19. Your room is ____ mine.
①
twice as large
②
twice the size of
③
bigger twice than
④
as twice large as
查看完整题目与答案
【单选题】
4. I think the story is not so ____as that one.
①
interesting
②
interested
③
more interesting
④
most interesting
查看完整题目与答案
【单选题】
3.This book is ____that one, but ____than that one.
①
as difficult as; expensive
②
as more difficult as; more expensive
③
as difficult as; more expensive
④
more difficult as; as expensive
查看完整题目与答案