Why is it better to do the following
if (NULL != my_pointer)
if (my_pointer != NULL)?
My boss says that if my_pointer is NULL and C evaluates a null
pointer first it will crash, but isn't it true that either way a null
pointer will be evaluated?
Thanks a lot.