prev up next   top/contents search

comp.lang.c FAQ list · Question 5.12

Q: I use the preprocessor macro

#define Nullptr(type) (type *)0
to help me build null pointers of the correct type.

A: This trick, though popular and superficially attractive, does not buy much. It is not needed in assignments or comparisons; see question 5.2. (It does not even save keystrokes.) See also questions 9.1 and 10.2.

prev up next   contents search
about this FAQ list   about eskimo   search   feedback   copyright

Hosted by Eskimo North