+ 2

Why do we put put return 0; at the rnd ofba block

{ court<<<" hello world!"; return 0; }

27th Jun 2017, 1:15 AM
Mark Sheehan
Mark Sheehan - avatar
2 Respostas
+ 6
you see int main() so it must returns an int value
27th Jun 2017, 1:21 AM
Hetbo.net
Hetbo.net - avatar
+ 3
Yes, but by the way return 0; terminate the program process. I mean it closed the program directly.
27th Jun 2017, 1:31 AM
Nura Programmer
Nura Programmer - avatar