Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ pointer null vs nullptr

NULL and nullptr are both considered 0, but

NULL = 0 (as an integer)
nullptr = 0 (as an pointer)
 
PREVIOUS NEXT
Tagged: #pointer #null #nullptr
ADD COMMENT
Topic
Name
6+8 =