【单选题】【消耗次数:1】
下列哪项不代表多重指针()
int **p;
int ***p;
int p;
**p;
参考答案:
复制
纠错
相关题目
【单选题】 假定指针变量p定义为“int *p=new int(100);”,要释放p所指向的动态内存,应使用语句( )。
①  delete p;
②  delete *p;
③  delete
④  delete []p;
【单选题】 假定指针变量p定义为“int *p=new int(100);”,要释放p所指向的动态内存,应使用语句( )。
①  delete p;
②  delete *p;
③  delete
④  delete []p;
【单选题】 在int a=3,int *p=a;中,*p的值是()
①  变量a的地址值
②  无意义
③  变量p的地址值
④  3
【单选题】 在int a=3,int *p=&a;中,*p的值是()
①  变量a的地址值
②  无意义
③  变量p的地址值
④  3
【单选题】 假定指针变量p定义为“int *p=calloc(30,sizeof(int));”,要释放p所指向的动态内存,应使用语句( )。
①  delete[p];
②  delete(p);
③  free[]p;
④  free(p);
【单选题】 假定指针变量p定义为“int *p=calloc(30,sizeof(int));”,要释放p所指向的动态内存,应使用语句( )。
①  delete[p];
②  delete(p);
③  free[]p;
④  free(p);
【单选题】 假定指针变量p定义为“int *p=malloc(sizeof(int));”,要释放p所指向的动态存储空间,应调用的函数为?
①  free(p)
②  delete(p)
③  free(*p)
④  free(p)
【单选题】 若有定义:int*p,k=4;p=以下均代表地址的是()。
①  k,p
②  k,p
③  k,p
④  k,*p
【单选题】 下面代码:int a[5];int *p;a[0]=1;a[1]=2;p=a;*p的值
①  a
②  1
③  2
④  null
【单选题】 假定p为指向二维数组int d[4][6]的指针,则p的类型为( )。
①  int*
②  int**
③  int[6]
④  int(*)[6]
【单选题】 有说明语句int *p=new int[10];访问动态数组元素的正确语句是()
①  int a=p;
②  int a=*p;
③  delete int[]p
④  delete p int[10]
随机题目
【单选题】 Could you please tell us what kind of work _____you have got experience?
①  that
②  for that
③  which
④  in whick
【单选题】 Hes worked here___three years.
①  since
②  in
③  for
【单选题】 I _____him my bike last weekend.
①  lent
②  hired
③  returned
④  borrowed
【单选题】 What about_____ a film tonight?
①  to see
②  seeing
③  see
④  sees
【单选题】 It’s hot now. It’s time to ___your warm clothes in the wardrobe.
①  put on
②  put away
③  take off
④  give back
【单选题】 Tibet is _____ the southwest of China.
①  at
②  to
③  with
④  in
【单选题】 -“I’m going to Hang Zhou for a holiday this weekend.”-“____________ you are there, can you buy me some green tea?”
①  Because
②  Before
③  While
④  after
【单选题】 ___the rain ,he went on working in the garden.
①  In addition to
②  In spite of
③  Except for
【单选题】 A: What did the man say to you?B: Oh , he asked me ___ a cigarette.
①  with
②  to
③  for
【单选题】 A: Where is Shanghai?B: It is ___ the east of China.
①  on
②  in
③  from