+ 6

Can we say main a user define function? If yes ,but why??

18th Apr 2020, 1:12 PM
Aarti Rani
Aarti Rani - avatar
2 Respuestas
+ 2
Yes we can say main is user defined function because what is the defination of user defined function which function defined by user called user-defined function as we see when we create a program we write a main do some coding inside the main block and this coding will be run when program is run I hope u get it my point
29th Jun 2020, 2:01 PM
Noman
Noman - avatar
0
The system writes the main function itself. You cannot call it user defined because the main method is the entry point of any programming language from where the compailer starts executing the program.
18th Apr 2020, 1:32 PM
Shashank Mishra
Shashank Mishra - avatar