GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  Birlasoft  >  Technical

 Print  |  
Question:  Which one of the following represents a correct and safe declaration of NULL ?


Answer: a) typedef((void *)0) NULL;
b) typedef NULL(char *)0;
c) #define NULL((void *)0)
d) #define NULL((char*)0)


August 08, 2005 02:15:17 #1
 Priyanka Bhardwaj   Member Since: Visitor    Total Comments: N/A 

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

 
Answer(c)
     

 

Back To Question