i was wondering why this function doesn't lead to a complile error:
how can it return b if the variable c is destroyed when the function returns?
furthermore, when it returns, the program can manipulate the value of c
which shouldn't even exist...
thanks for help
it won't compile if you try it with a reference...