What is the default value of a pointer that has NOT been initialized in C?

2025

What is the default value of a pointer that has NOT been initialized in C?

Answer: D. Undefined (Garbage Value)

  1. A.

    NULL

  2. B.

    -1

  3. C.

    0

  4. D.

    Undefined (Garbage Value)

Attempted by 377 students.

Show answer & explanation

Correct answer: D

Explore the full course: Rssb Basic Computer Instructor

Loading lesson…