+ 5

Why is main starting point of any program in c, cpp, java, c#?

22nd Jan 2018, 7:37 AM
shadab gada
4 ответов
+ 16
there must be some starting point from the statement(s) must start executing bcz if there will be no starting point then how would u be able to predict the output //here is some more explanation https://www.quora.com/Why-do-Java-programs-start-from-only-main-string-args-method
22nd Jan 2018, 8:16 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 6
Depends on the Language For Java , C, C# and C++ it is the main method
22nd Jan 2018, 7:40 AM
David Akhihiero
David Akhihiero - avatar
+ 2
counter question: why shouldnt it?
22nd Jan 2018, 7:53 AM
Jeremy
Jeremy - avatar
+ 1
It starts with an idea then some pseudocode and then the coding begins.
22nd Jan 2018, 8:17 AM
Anthony Perez