• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
+ 2

Why the name of main function can't be other than "main" ?

c++
30th Jul 2017, 2:00 PM
Suraj Barfa
Suraj Barfa - avatar
3 odpowiedzi
+ 9
Because main() is pre-declared in the compiler. We only write the definition for main().
30th Jul 2017, 2:08 PM
Hatsy Rei
Hatsy Rei - avatar

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Hey I've done the C# and SQL beginner and intermediate, but still feel like there could be more... Is there advanced somewhere?
0 Votes
How to do a responsive page?
1 Votes
Beginner question
0 Votes
Is there any debugging practice here or not?
2 Votes
How create a new language ?
0 Votes
Can I make coding projects here and run them without sololearn pro, only in sololearn.
0 Votes
Issue with Sololearn Module Quiz Despite Correct Answers
1 Votes
Ai in future
1 Votes
How To Enable Disable Divs?
0 Votes
Hey what the research process order for them that I am telling you please order them and tell me answer
0 Votes