1. What is a function?
A function is a set of code statements written to perform a specific task, as many times as needed.
2. What function is run first of all in a C++ program?
A function called main()
3. What are return values?
A return value is one that results from performing or executing a function. Not all functions require a return value. A return value is an integer. A return value of 0 (zero) usually means success and a 1 (one) usually means failure. But the programmer can assign whatever meaning they see fit to a return value.
4. Are nested functions allowed in C++?
No. Nested functions are not allowed in C++.