GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Concepts  >  Data Structures
Go To First  |  Previous Question  |  Next Question 
 Data Structures  |  Question 155 of 202    Print  
What is the difference bitween NULL AND VOID pointer?

  
Total Answers and Comments: 3 Last Update: August 17, 2009     Asked by: sudhanshu shekhar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
November 15, 2006 12:22:16   #1  
Basavaraj        

RE: what is the difference bitween NULL AND VOID point...
NULL can be value for pointer type variablesVOID is a type identifier which has not sizeNULL and void are not sameExample:void* ptr NULL;
 
Is this answer useful? Yes | No
March 27, 2007 06:38:20   #2  
howhy Member Since: March 2007   Contribution: 2    

RE: What is the difference bitween NULL AND VOID point...
Uninitialsed Void pointer may point to some where.
But a NULL pointer may not.

A NULL pointer si something "Unavailable" "Unassigned" "Uninitialsed".


 
Is this answer useful? Yes | No
August 16, 2009 22:46:22   #3  
rohini.nitd Member Since: August 2008   Contribution: 5    

RE: What is the difference bitween NULL AND VOID pointer?
NULL pointer says that it is not pointing to any object but a VOID pointer says that it can point to any object.
 
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