4 ms·
Yes indeed, you can do some very interesting things like interpret the raw bits of a float as a character and crash or corrupt your program.
by Evbn 14y ago
Yes indeed, you can do some very interesting things like interpret the raw bits of a float as a character and crash or corrupt your program.
- afandian 14y agoWhen you use void*s, you do so carefully. You can make mistakes in any language. You can get objects in Python that don't do what you expected because there's no type safety, leading to crashy behaviour (granted, no memory corruption). I think you might have misread my comment as "you can't make mistakes in C".