D
Dimitris Kamenopoulos
Agent said:Hi group,
When filling in my Windows(tm) structs, I use
NULL for object pointers and 0 for ints, floats etc.
I found out that this compiles:
int a=NULL;
float b=NULL;
etc.
Is that valid?
NULL is almost certainly defined as
#define NULL 0
So why not? It's just substituted text.