填空题

C++语句const char *const p="hello";,所定义的指针p和它所指的内容都不能被______。

【参考答案】

改变
<上一题 目录 下一题>
热门 试题

填空题
类中包含了一个静态成员函数,则main函数中和P.f1(P);语句具有同样功能的语句为______。 #include<iostream.h> class M public: M(int A)A=a;B+=a; static void f1(M m); private: int A; static int B;; void M::f1(M m) cout<< A= <<m.A<<endl; cout<< B= <<m.B<<endl; int M::B=10; void main() M P(5); P.f1(P);
填空题
二分法查找仅限于这样的表:表中的数据元素必须有序,其存储结构必须是______。
相关试题
  • 有以下程序: #include<iostream> usi...
  • 下列程序的输出结果是______。 #in...
  • 在MyClass类的定义中,对赋值运算符一进行...
  • 若有函数fun(x,y),并且已经使函数指针...
  • 对于下面定义的类MyClass,请在函数f()中...