In this question an initializer is used to set a pointer to null. Instead of using value of 0
value of 0L
is used. I've read that one should use exactly 0
for null pointers because exact null pointer representation is implementation-specific.
Can using 0L
to set a pointer to null cause problems while porting?