What are mandatory parts in the function declaration?
a) return type, function name
b) return type, function name, parameter
c) parameter, function name
d) parameter, variables
Which of the following is used to terminate the function declaration?
a) :
b) )
c) terminator (;)
d) ]
Which is more effective when calling the functions?
a) call by value
b) call by reference
c) call by pointer
d) call by object
What is the scope of the variable declared in the user defined function?
a) whole program
b) only inside block {}
c) main function
d) header section
Which of the following is the default return value of functions in C++?
a) int
b) char
c) float
d) void
An inline function is expanded during …
a) compile-time
b) run-time
c) never expanded
d) end of program