-
Why To Use int main()
Hi I am new here and also new to C programming.
As you can see that this is my first post.
I have seen many codes and i have a que regarding to main().
many ppl uses
Code:
int main()
{
statments;
return(0);
}
and many of uses code like
Code:
void main()
{
statments;
}
Is there any specific reason of using int main() and then returning zero instead of using void main() directly OR all programmers love to type? :confused:
-
Read the FAQ. If that is not enough for you, then do a board search on your question.
~/
-
Thanks Bro
Next time before posting i will make a study on it.