+ 3
Meaning of main function
What is the meaning of main() in c or c++?? It is DECLARATION, DEFINITION OR CALLING when we write int main() in every program??
6 Réponses
+ 2
main is the actual fuction that gets executed when you run a program
+ 1
I guess it's about with the structure of c++ language. If im not wrong something is being sent to main function with hardware to main function at the beginning of program starts so it is necessary.
+ 1
It's definition.
0
I know that it is an inbuilt function in C but i want to know what we are doing is definition of function or calling and what is happening in this whole process.
Who is responsible for execution of main and in what way this happen??