+ 1

what does the circular brackets "()" indicates in main()

can there be any thing inside of the main ( __ )

9th Sep 2018, 12:57 PM
Shreyas Chimote
Shreyas Chimote - avatar
5 Respuestas
+ 5
parentheses in this case signify a method. in some languages with a main method, it has optional or mandatory parameters. if you're talking c/c++, by default main doesn't have any parameters, but you can add some to signify command line arguments
9th Sep 2018, 1:16 PM
hinanawi
hinanawi - avatar
+ 2
What language...
9th Sep 2018, 1:12 PM
Hatsy Rei
Hatsy Rei - avatar
0
cpp sry ...
9th Sep 2018, 1:15 PM
Shreyas Chimote
Shreyas Chimote - avatar
0
what is main method
9th Sep 2018, 1:17 PM
Shreyas Chimote
Shreyas Chimote - avatar
0
Shreyas chimote the method which is executed upon program startup
9th Sep 2018, 1:18 PM
hinanawi
hinanawi - avatar