jeudi 18 août 2016

Returning a value on function exit in C++

Is it true that in C++ main () is not required to include a return 0;?

Does it apply to main only or to any non-void function?

Is it new in C++11 or was it always like that?

What is the rationale?

Aucun commentaire:

Enregistrer un commentaire