According to my understanding, If a Pointer has the
value of 0, then it shows the compilier that it points
to nothing, but I thought normally NULL is defined as
0.

--- On Tue, 2/23/10, Jimmy Johnson <[email protected]> wrote:

From: Jimmy Johnson <[email protected]>
Subject: [c-prog] Is NULL defined somewhere?
To: [email protected]
Date: Tuesday, February 23, 2010, 10:12 AM







 



  


    
      
      
      I am trying to initialize a pointer with

  p = NULL

and get NULL : undefined symbol



What should it be.  And I hope you don't say

  p = 0;



thanks,



jjj





    
     

    
    


 



  






      

[Non-text portions of this message have been removed]

Reply via email to