Anonymous user
Null object: Difference between revisions
m
→{{header|C}}: clarification. C and C++ have differing ideas of what exactly NULL is. And in C it's a void *
m (omit TI-BASIC) |
m (→{{header|C}}: clarification. C and C++ have differing ideas of what exactly NULL is. And in C it's a void *) |
||
Line 94:
=={{header|C}}==
C's access to null is by way of a macro which simply evaluates to <code>(void*) 0</code>.
<lang c>#include <stdio.h>
#include <stdlib.h>
|