0

Why we are use void ?

9th Jan 2017, 10:54 AM
Ravi
Ravi - avatar
2 Answers
+ 9
If you want to make a function that doesn't return any value you declare it as void (if function is int you must "return 0" or another int value e.t.c......)
9th Jan 2017, 11:12 AM
Valen.H. ~
Valen.H. ~ - avatar