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

PYQ DSSSB 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++.

  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 957 students.

Sign up free to check your answer

Sign up free

Explore the full course: Dsssb Tgt Computer Science Paper 2

Loading lesson…