|
|
|
|
|
by saagarjha
2590 days ago
|
|
> Is the function well formed (Yes - functions need not return a value on all paths due to C ancestory, even if the return type has a non trivial actor - not sure if this is still considered well formed, but I think it was as least to C++11) In C falling off the end of a function without returning is legal, as long as you don't use the return value. In C++ this is illegal. |
|