Thread: What is the difference between "void main()", "int main()" and "main"?

  1. #1
    Registered User
    Join Date
    Feb 2017
    Posts
    4

    Question What is the difference between "void main()", "int main()" and "main"?

    I am a newbie in programming, I started to learn C language. I want to know the what is the difference between "void main()", "int main()" and "main()". I have already check my sources but I can find anything useful for me.

  2. #2

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Diffrence between "int main(void)" and "void main"!
    By DevoAjit in forum C Programming
    Replies: 6
    Last Post: 02-26-2012, 10:11 PM
  2. " void main() is evil. Use int main(). "
    By Brw_Abhi in forum C++ Programming
    Replies: 7
    Last Post: 06-06-2007, 12:16 PM
  3. Replies: 14
    Last Post: 12-26-2004, 11:18 AM
  4. "CWnd"-"HWnd","CBitmap"-"HBitmap"...., What is mean by "
    By L.O.K. in forum Windows Programming
    Replies: 2
    Last Post: 12-04-2002, 07:59 AM
  5. why is "void main" wrong?
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 05-28-2002, 10:32 AM

Tags for this Thread