Finally trying to break the habit of using ! operator with pointers instead of comparing to NULL. I blame K&R.
@GrumpyHook @dmmfix No, technically 0 was not correct in C, because some architectures used to use 0 as a valid pointer.
-
-
@GrumpyHook@dmmfix Those architectures had to stop using that particular memory address under C++, I guess.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@cmuratori@dmmfix literal 0 was correct in C because it promoted to pointer comparison correctly. - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.