+ 1
Why in c language in some program use int instead of void whereas in program we use void
3 Answers
+ 4
do you mean with main, the latest version of C which is C11 do not allow void but only int
+ 2
Some obsolete Windows compiler's are the only ones that ever allowed void because Windows didn't want the return code. Most compilers have always only supported int.
0
Thanks