Explanation:Normally the execution of the program in c++ starts from main only. 2. What are mandatory parts in function declaration?
A. return type,function name
B. return type,function name,parameters
C. both a and b
D. none of the mentioned
Answer:A
Explanation:Normally the execution of the program in c++ starts from main only. 2. What are mandatory parts in function declaration?
A. return type,function name B. return type,function name,parameters C. both a and b D. none of the mentioned
Explanation:In a function, return type and function name are mandatory all else are just used as a choice. 3. which of the following is used to terminate the function declaration?