I am porting AIX code to Linux. I encountered some code which compares char to NULL on AIX xlc compiler. The same code gives compile error on Linux.
There is code which compares double with NULL ( d != NULL).
Could somebody explain the semantics of comparing char or double to NULL on AIX(xlc).