+ 1
Why can't we use the void main() function in the hello world program??
8 Réponses
+ 5
Void return type for main() is not standard. While some compilers may support it, you should not practice it.
http://www.stroustrup.com/bs_faq2.html#void-main
+ 1
because the main method is already exist.
Try other method name.
+ 1
aaa... not java... ok
0
but in many c++ programs then y do we use void main ()??it already exists ri8?thn y do we use tat
0
I dont know very much c++
almost nothing to this
i know Java the best
0
okay.. anyway thank you..
0
you're welcome
0
okay.. thank you!!