0

What will happen if I use " void main ()" instead of " int main ()" , and discard "return 0"??

13th Jun 2016, 11:37 AM
Zain Ul Abedin
2 odpowiedzi
+ 1
This will also work but only in some compilers like Turbo C++. In dev ... it doesn't work . Programming varies from compiler to compiler but the logic remains the same
13th Jun 2016, 12:12 PM
Satan 666
Satan 666 - avatar
0
thanks
14th Jun 2016, 10:16 AM
Zain Ul Abedin