bits worth learning
- if(NULL == thing){}
- as a sanity check. When (by mistake) writing
==
as=
,if(thing = NULL){}
is error-prone yet valid C code.. whileif(NULL = thing)
is a compilation error.
==
as =
,
if(thing = NULL){}
is error-prone yet valid C code..
while if(NULL = thing)
is a compilation error.