LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (http://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: int main() vs void main() (http://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-int-main-vs-void-main-696148/)

LXer 01-09-2009 03:11 PM

LXer: int main() vs void main()
 
Published at LXer:

We’ve been brought up with many different variations of this popular function. Some books/teachers like to write it as “int main”, some write it as “void main” and then there are some who make do with just “main”, forgoing the return type altogether. So, which one out of them is correct? Or does it even make a difference?

Read More...


All times are GMT -5. The time now is 06:05 AM.