4 ms·
https://stackoverflow.com/questions/59437282/can-i-use-null-as-substitution-for-the-value-of-0 https://stackoverflow.com/questions/59437282/can-i-use-null-...
by perl4ever 7y ago
https://stackoverflow.com/questions/59437282/can-i-use-null-as-substitution-for-the-value-of-0 https://stackoverflow.com/questions/59437282/can-i-use-null-...
- saagarjha 7y agoTL;DR: 0 is always NULL, but NULL is not always 0. Checking or assigning a pointer to 0 will work but converting NULL to an integer is implementation-defined.