Is copy elision in the form of named return value optimization permitted in C?
Is the following C program guaranteed to exit with 0
or is the compiler allowed to identify the objects s
and t
with one another as is permitted in C++ as the so-called named return value optimization (NRVO) form of copy elision?