Which of the following function / types of function cannot have default parameters?
a) member function of class
b) Main ()
c) member function of structure
d) none of these
The reference to the function parameters is passed as arguments rather than value of variables is called……..
a) call by reference
b) call by value
c) call by pointer
d) call by object
Which of the following symbol is used in pass by reference arguments?
a) @
b) %
c) &
d) $
What is the correct format of default argument in C++?
a) type function-name (parameter1=value);
b) type function-name {parameter1=value}
c) type function-name [parameter1=value];
d) none of these
What is the general syntax for return statement?
a) return (expression)
b) return (constant)
c) both a & b
d) none of these
Function Overloading