Computer Science, asked by shaheensiddiqui9127, 11 months ago

differnce between main() & user defined functions

Answers

Answered by smarazazaidi
0

Answer:

main()

             main() is a predefined function for C++. main() acts like a control panel or interface through which we control a program. main() is a starting point for any C++ program's execution

user-defined function:

                function that are defined by programmers are said to be user-defined  function. user-defined function are written to support our main() function. In execution sequence user-define function are executed when they are called by main() or any other part of program.

Similar questions