0
Terminate
what is meaning of return 0 terminate c++
2 Antworten
- 1
all funcitions return something .
int main is the main function which every single program in c++ has , it should not return anything so you write return0.
- 1
Every function returns something, main() is no exception, it returns 0
For normal execution of a c++ program we use,
int main(){
.
.
.
return 0;
}
void main(){
.
.
.
// nothing
}