Look at this code, what should it do and will it do what you expect.
Anonymous
Typical question about return values in C/C++. Returning a locally scoped variable without passing in a reference and using that to store the return value.
Check out your Company Bowl for anonymous work chats.