3 ms·
Any decent C programmer should know this stuff. Also, > size_t offset = (size_t) &(((struct s*)0)->thing); In what universe is that code "ugly"?
by javadyan 15y ago
Any decent C programmer should know this stuff.
Also,
> size_t offset = (size_t) &(((struct s*)0)->thing);
In what universe is that code "ugly"?