4 ms·
Since func2 doesn't have any parameters, the only thing that calling it will put on the stack is the return address. In fact, if it's the last function call in
by 13of40 4y ago
Since func2 doesn't have any parameters, the only thing that calling it will put on the stack is the return address. In fact, if it's the last function call in the code block, even that might get optimized out. The struct should be intact and available via a local variable in func2.