Lesson 14 词汇拓展--单词选择题-12 Procedural control is used in regions of the world, specifically _______ land areas and oceans, where radar coverage is either prohibitively expensive or is simply not feasible.
【简答题】如下有关const的应用,正确的是:A. const int N=3; const int arr[N] = {1,2,3}; arr[0] = 6;B. const int N=3; const int arr[N] = {1,2,3}; int * p = arr;C. const int N=3; const int arr[N] = {1,2,3}; int const *p = arr;...
【单选题】int N = 10;const int &M;M = 100;N = 100;有上述const的应用代码段,且有如下四种叙述A.M必须初始化,没有初始化是错误的B.M=100;是正确的,可以通过引用M修改N的值。C.N=100;是允许的。D.M=100;是允许的。请指出有关该代码叙述的正确选项。
【单选题】int N = 10;const int &M;M = 100;N = 100;有上述const的应用代码段,且有如下四种叙述A.M必须初始化,没有初始化是错误的B.M=100;是正确的,可以通过引用M修改N的值。C.N=100;是允许的。D.N=100;是不允许的。请指出有关该代码叙述的正确选项。
【简答题】如下有关 const 的应用,正确的是:A. const int N=3; const int arr[N] = {1,2,3}; const int *p=arr; B. const int N=3; const int arr[N] = {1,2,3}; int * p = arr; C. const int N=3; const int arr[N] = {1,2,3}; arr[0] = ...