rhpp

joined 1 year ago
[–] rhpp@programming.dev 97 points 5 months ago (9 children)

Actually void* just points to anything, with no regard to the type of that thing. Pointing to the void is more accurately described by NULL pointer.

[–] rhpp@programming.dev 3 points 1 year ago (1 children)

Looks like you need to insert the raw image link, not Reddit's media wrapper link.

plan 9 cat vs GNU longcat meme

[–] rhpp@programming.dev 2 points 1 year ago (4 children)

reddit image linking is broken?

Well you didn't link to a reddit image, you linked to Google image search result page which is not an image.

[–] rhpp@programming.dev 11 points 1 year ago (1 children)

Still false, thanks to compiler optimizations. Remember that integer overflow is UB. (unless you're using unsigned int or a programming language which strictly defines integer overflow, possibly as an error)

P.S.: Assuming this is C/C++

[–] rhpp@programming.dev 2 points 1 year ago (1 children)

But that often leaves behind the registry entries which may or may not cause problems.