Hacker News new | ask | show | jobs
by eddd-ddde 406 days ago
But if then you write to that memory through a int pointer the effective type is int. Unlike if you would have allocated the struct in the stack.