If i use int in place of void without returning any value....the code still running | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

If i use int in place of void without returning any value....the code still running

can any body explain me how?

4th Jul 2016, 2:46 PM
Ankit Bisht
Ankit Bisht - avatar
1 Answer
0
not for me unless you are talking about main which returns 0 by default. but i think that depends on the used compiler
8th Jul 2016, 2:26 AM
crocki134