+ 1

Can I use void instead of int?

11th Jul 2016, 11:14 AM
Aman Singh
2 Answers
+ 1
if ur talking about main then yes else u can't
17th Jul 2016, 3:25 PM
manish rawat
manish rawat - avatar
0
Yes, without a problem. And you don't have to return anything in that case.
11th Jul 2016, 5:49 PM
Sefa Özkaya
Sefa Özkaya - avatar