Re:I Do Not Know C: Short quiz on undefined behavior (2015)
by yorwba on Tuesday February 14, 2017 @10:46AM
(#13644310)
Only if the pointer is correctly aligned for the uint32_t data type. Otherwise you might get problems with unaligned memory acesses. (Like when you get some data over the wire that is clearly just a memory dump of a C struct, so you just do a pointer cast. Boom, unaligned read.)
[ Parent
| on HN ]
There are no comments on this comment yet.