Dynamic Arrays MCQs & Quiz Online PDF Book Download

Dynamic arrays multiple choice questions (MCQs), dynamic arrays quiz answers to learn online CS courses for C++ online classes. Pointers and references MCQs, dynamic arrays quiz questions and answers for information technology masters programs. Learn pointers and references, operator overloading, objects and lvalues, overloading arithmetic assignment operators, dynamic arrays test prep for computer coding certifications.

Learn pointers and references MCQ: which from following is not a mutable lvalue, with choices double x= 1.54;, a [6], double & r = x;, and double a [7] = {0.0}; for information technology masters programs. Practice merit scholarships assessment test, online learning dynamic arrays quiz questions for competitive exams in computer science major .

MCQs on Dynamic Arrays PDF Book Download

MCQ: Which from following is not a mutable lvalue?

  1. double x= 1.54;
  2. a [6]
  3. double & r = x;
  4. double a [7] = {0.0};

D

MCQ: How a static array is declared?

  1. float a [10];
  2. float * p = new float [60];
  3. int % p = float [30];
  4. None of them

A

MCQ: A pointer that is not initialized, is called

  1. Deference pointer
  2. Null pointer
  3. Dangling pointer
  4. Empty pointer

C

MCQ: What is used for accessing contents of memory location whose address is stored in a pointer variable?

  1. By applying the address operator &
  2. By applying the dereference operator *
  3. By applying some special function
  4. None of them

B

MCQ: Float * p = new float [50]; is an example of

  1. Static array declaration
  2. Dynamic array declaration
  3. Multi-dimensional array declaration
  4. Both A and B

B