单项选择题

已知:int m=10;在下列定义引用的语句中,正确的是

A.int &x=m;
B.int y=&m;
C.int &z;
D.int &t=&m;
<上一题 目录 下一题>
热门 试题

单项选择题
下列关于栈的描述中错误的是
A.栈是先进后出的线性表
B.栈只能顺序存储
C.栈具有记忆作用
D.对栈的插入与删除操作中,不需要改变栈底指针
单项选择题
下面的函数模板定义中错误的是
A.template <class Q> q F(Q {return Q+x;}
B.template <class Q> Q F(Q {return x+x;}
C.template <class T> T F(T{return x*x;}
D.template <class T> bool F(T{return x>1;}
相关试题
  • 有如下程序: #include <iostream.h>...
  • 有以下程序 #include <iostream> #i...
  • 有如下的程序: #include <cstring.h...
  • 有如下程序: #include <iostream.h>...
  • 有以下程序: #include <iostream> u...