What happens if a user dereferences an uninitialised pointer?

What happens if a user dereferences an uninitialised pointer?

  1. A.

    Compilation error

  2. B.

    You get zero

  3. C.

    It points to a NULL address

  4. D.

    Undefined behavior

Attempted by 237 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…