Featured Posts

I’m confused. NULL is guaranteed to be 0, but the null pointer is not?

Posted by albert | Posted in PHP, Request | Posted on 16-11-2009

0

A “null pointer” is a language concept whose particular internal value does not matter.  A null pointer is requested in source code with the character “0″.   “NULL” is a preprocessor macro, which is always #defined as 0 (or (void *)0).

VN:F [1.9.3_1094]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)

Post a comment

You must be logged in to post a comment.