Is there any differ in between exit(0) and return 0 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there any differ in between exit(0) and return 0

27th Sep 2018, 7:36 PM
manoj hunachigi
manoj hunachigi - avatar
4 Answers
+ 2
no that is not the case. namespace std includes everthing from the included libraries. and iostream.h is a library from turbo c++ the outdated c++ ide.
27th Sep 2018, 9:25 PM
Manual
Manual - avatar
+ 1
I do not see much difference in practice. try this thread https://www.sololearn.com/discuss/785942/?ref=app
27th Sep 2018, 7:43 PM
Manual
Manual - avatar
0
ok y do we use using namespace std ..instead of dat can we use iostream.h ?
27th Sep 2018, 7:46 PM
manoj hunachigi
manoj hunachigi - avatar
0
OK bro ty
27th Sep 2018, 9:26 PM
manoj hunachigi
manoj hunachigi - avatar