C Pointers Question:
Download Job Interview Questions and Answers PDF
Do you know NULL pointer?
Answer:
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.
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.
Download C Pointers Interview Questions And Answers
PDF
Previous Question | Next Question |
Can you please compare array with pointer? | Tell me with an example the self-referential structure? |