What is a NULL Macro? What is the difference between a NULL Pointer and a NULL Macro?

Showing Answers 1 - 2 of 2 Answers

neetu

  • May 8th, 2006
 

#def ine NULL 0 null pointer is pointer not having a target ,not poiting to any object whose dereference is illegal

  Was this answer useful?  Yes

Yada Kishore

  • Jun 18th, 2006
 

#define   NULL   0

#define   NULL_PTR   (void *)0

NULL_PTR has ponter context, while NULL is a normal value.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions