C++ Pointers & Functions Question:

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

C++ Pointers & Functions Interview Question
C++ Pointers & Functions Interview Question

Answer:

a) return type,function name


Previous QuestionNext Question
How many max number of arguments can present in function in c99 compiler?
a) 99
b) 90
c) 102
d) 127
Where does the execution of the program starts?
a) user-defined function
b) main function
c) void function
d) none of the mentioned