0

Why we can not write void o place of int coz as i learn we dont have to return a value if we use void..

nothing

27th Sep 2018, 9:16 PM
Kusum Paliwal
Kusum Paliwal - avatar
5 Answers
+ 1
bhakti joshi try using void main see what happens.
27th Sep 2018, 9:33 PM
Manual
Manual - avatar
+ 1
Good, good. In C/C++ in the past I believe void main could be used. Now you cannot.
27th Sep 2018, 9:37 PM
Manual
Manual - avatar
0
i write that but it is not run
27th Sep 2018, 9:34 PM
Kusum Paliwal
Kusum Paliwal - avatar
0
sorry ..!but why we can not use that
27th Sep 2018, 9:38 PM
Kusum Paliwal
Kusum Paliwal - avatar