Which one of the following represents a correct and safe declaration of NULL ?

A) typedef((void *)0) NULL;
b) typedef NULL(char *)0;
c) #define NULL((void *)0)
d) #define NULL((char*)0)
This question is related to BirlaSoft Interview

Showing Answers 1 - 7 of 7 Answers

Priyanka Bhardwaj

  • Aug 9th, 2005
 

Answer(c)

  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