Choose most appropriate option considering that gp and ip are declared as void…

HTET 2018

Choose most appropriate option considering that gp and ip are declared as void * and int * respectively in C++:

  1. A.

    gp = ip is a valid C++ statement

  2. B.

    *ip = *gp is a valid C++ statement

  3. C.

    Both (1) and (2) are valid statements

  4. D.

    Neither (1) nor (2) are valid statements

Attempted by 222 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…