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
When do we define the default values for a function?
a) function is defined
b) function is declared
c) scope of function is over
d) function is called