State whether True or False? (i) Pointer arithmetic can't be done on a void…

2018

State whether True or False?
(i) Pointer arithmetic can't be done on a void pointer.
(ii) A void pointer cannot point to a class member in C++.

Answer: A. (i) – True, (ii) – True

  1. A.

    (i) – True, (ii) – True

  2. B.

    (i) – True, (ii) – False

  3. C.

    (i) – False, (ii) – True

  4. D.

    (i) – False, (ii) – False

Attempted by 316 students.

Show answer & explanation

Correct answer: A

Explore the full course: Rssb Basic Computer Instructor

Loading lesson…