Passwortabfrage
-
intel schrieb:
Mein Compiler meldet nichts, wenn der Returnbefehl fehlt!
Dann arbeitet er auch korrekt.
ISO/IEC14882 3.6.1 / 5 schrieb:
A return statement in main has the effect of leaving the main function (destroying any objects with automatic
storage duration) and calling exit with the return value as the argument. If control reaches the end
of main without encountering a return statement, the effect is that of executing
return 0;
-
drakon schrieb:
Dann arbeitet er auch korrekt.
Danke für die eindeutige Klärung!