【单选题】【消耗次数:1】
在int a=3,int *p=&a;中,*p的值是()
变量a的地址值
无意义
变量p的地址值
3
参考答案:
复制
纠错
相关题目
【单选题】 在int a=3,int *p=a;中,*p的值是()
①  变量a的地址值
②  无意义
③  变量p的地址值
④  3
【判断题】 若有int a[10]; p= 则p-1的值是数组a第1个元素的地址。
①  正确
②  错误
【判断题】 若有int a[10]; p= 则p+1的值是数组a第1个元素的地址。
①  正确
②  错误
【单选题】 下面代码:int a[5];int *p;a[0]=1;a[1]=2;p=a;*p的值
①  a
②  1
③  2
④  null
【单选题】 已定义以下函数 fun(int*p) {return*p;} 该函数的返回值是()
①  不确定的值
②  形参p中存放的值
③  形参p所指存储单元中的值
④  形参p的地址值
【单选题】 下面代码:int x=10,y,*p;*p=y=*p;y的值
①  1
②  10
③  3
④  错误
【单选题】 若有定义:int*p,k=4;p=以下均代表地址的是()。
①  k,p
②  k,p
③  k,p
④  k,*p
【单选题】 有以下程序段int?a[10]={1,2,3,4,5,6,7,8,9,10},*p=&a[3],b;b=p[5];b中的值是()
①  5
②  6
③  8
④  9
【判断题】 已知:int *p1, *p2= 由此可知变量a的类型是:int *。
①  正确
②  错误
【单选题】 假定指针变量p定义为“int *p=new int(100);”,要释放p所指向的动态内存,应使用语句( )。
①  delete p;
②  delete *p;
③  delete
④  delete []p;
随机题目
【单选题】 As a teacher of elementary school, you should be patient ____ those pupils.
①  of
②  with
③  for
④  at
【单选题】 ____ the whole, it was a successful evening.
①  On
②  At
③  From
④  In
【单选题】 ____, the more you are aware of content and meaning.
①  The more words you are familiar to
②  The more words you are familiar with
③  You are familiar to more words
④  You are familiar with more words
【单选题】 The English teacher strongly advises that every student ____ an all English dictionary.
①  to buy
②  buying
③  in buying
④  buy
【单选题】 Only about one out of twelve of the young men and women of this country ____ college education.
①  receive
②  receives
③  have received
④  have been received
【单选题】 The boy and his mother were ____ in the burning house.
①  involved
②  trapped
③  enclosed
④  surrounded
【单选题】 ____ of whether you are ill or not, I want you to cover the story of today’s conference on the environment.
①  Regardless
②  Despite
③  Even
④  Considering
【单选题】 It is an ____ change that has taken place.
①  amazing
②  attempting
③  awaking
④  amusing
【单选题】 19. Water will continue to be ____ it is today —next in importance to oxygen.
①  how
②  Which
③  as
④  what
【单选题】 I’ll pick you up as promised, ____it rainy or fine.
①  will
②  be
③  should
④  no matter