Answers

Question and Answer:

  Home  C Functions

⟩ Tell me what is NULL pointer in C?

A null pointer does not point to any object.

NULL and 0 are interchangeable in pointer contexts.Usage of NULL should be considered a gentle reminder that a pointer is involved.

It is only in pointer contexts that NULL and 0 are equivalent. NULL should not be used when another kind of 0 is required.

 193 views

More Questions for you: