Difference between revisions of "NULL"

From Bennu Wiki
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 06:10, 8 November 2009


Description

NULL is a pointer, pointing to nothing. In programming it points to 0x00000000, or just plain 0.

The following check is the same as checking if a pointer variable is NULL:

if(my_pointer)
end

In which my_pointer is a pointer variable.

Constant - Value - Description
NULL - 0 - 0x00000000, pointing to nothing.