3 ms·You are correct for C++, though I don't know if C makes this commitment.by gumby 3y agoYou are correct for C++, though I don't know if C makes this commitment.jstimpfle 3y agoThis being about C++ and RAII lifetimes, the problem doesn't apply to C. The only similar thing in C would be compound literals. Those have a lifetime like automatic variables (i.e. to the end of the block).gumby 3y agoslaps forehead d’oh! My comment was boneheaded in regards to C