If i use int in place of void without returning any value....the code still running | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
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