differnce between main() & user defined functions
Answers
Answered by
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
Math,
7 months ago
English,
7 months ago
Computer Science,
7 months ago
CBSE BOARD X,
1 year ago
Social Sciences,
1 year ago
Hindi,
1 year ago