Re[6]: Локальные переменные
От: wander  
Дата: 17.08.25 20:00
Оценка: 8 (1)
Здравствуйте, rg45, Вы писали:

R>(не уверен на счёт С++98).


А там всё так же.

A return statement in main has the effect of leaving the main function (destroying any objects with auto-
matic 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;

 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.