N
nazran zubaer
Hi This is Nazran Zubaer from IUT,Dhaka,Bangladesh.I have a question :
Why are we using "void main()" in turbo C
Why are we using "void main()" in turbo C
Hi This is Nazran Zubaer from IUT,Dhaka,Bangladesh.I have a question :
Why are we using "void main()" in turbo C
Seebs said:Okay, now I give. It's a troll, as such.
-s
Well as far as i know ...Turbo C is obsolete
( forgive me if iam
wrong) ,,..in my school i also used turbo C ( and many people still
use it) not knowing that Turbo C is based on the old C standard
which
required main() to return void.
But the current C standard (i.e C99)
requires main() to return int .
So better get Dev-c compiler (i know only that)
and use that only ...or if on linux better use gcc on
command line ( i do it that way ).
Well as far as i know ...Turbo C is obsolete ( forgive me if iam
wrong) ,,..in my school i also used turbo C ( and many people still
use it) not knowing that Turbo C is based on the old C standard which
required main() to return void.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.
Turbo c | 1 | |
Turbo C | 3 | |
Turbo C | 0 | |
turbo C | 20 | |
Programming | 3 | |
Array & String | 2 | |
Structures | 0 | |
Turbo C | 1 |