GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Birlasoft  >  Technical
Go To First  |  Previous Question  |  Next Question 
 Technical  |  Question 13 of 26    Print  
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)



  
Total Answers and Comments: 4 Last Update: January 16, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 09, 2005 02:15:17   #1  
Priyanka Bhardwaj        

RE: Which one of the following represents a correct and safe declaration of NULL ?
Answer(c)
 
Is this answer useful? Yes | No
November 15, 2005 00:47:59   #2  
tinyjcb Member Since: November 2005   Contribution: 1    

RE: Which one of the following represents a correct an...
typedef NULL(char *)0; c)
 
Is this answer useful? Yes | No
November 16, 2005 00:41:56   #3  
ronak.tali Member Since: September 2005   Contribution: 5    

RE: Which one of the following represents a correct an...
define NULL((void *)0)

 
Is this answer useful? Yes | No
January 16, 2006 11:07:01   #4  
rajnarayanraju Member Since: January 2006   Contribution: 2    

RE: Which one of the following represents a correct an...
c) #define NULL((void *)0)
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape