As an Amazon Associate I earn from qualifying purchases.

Dynamic Arrays MCQs Quiz Online PDF Download eBook

Solve Dynamic Arrays Multiple Choice Questions (MCQ), dynamic arrays quiz answers PDF C++ programming practice test for online degree programs. Learn pointers and references Multiple Choice Questions and Answers (MCQs), "Dynamic Arrays Quiz" questions and answers for top computer science schools in the world. Learn pointers and references, operator overloading, objects and lvalues, overloading arithmetic assignment operators test prep for top online computer science programs.

"Which from the following is not a mutable lvalue?" Multiple Choice Questions (MCQ) on dynamic arrays with choices double x= 1.54;, a [6], double & r = x;, and double a [7] = {0.0}; for top computer science schools in the world. Practice dynamic arrays quiz questions for merit scholarship test and certificate programs for online computer science engineering.

MCQs on Dynamic Arrays PDF Download eBook

MCQ: Which from the 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 the 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