Which of the following is the correct function definition?
a) int add (int x, int y);
b) int add (int x, int y)
c) int add [int x, int y];
d) int add.
A statement in the calling function to execute the code of function is called
a) function prototype
b) function definition
c) function call
d) all of these
Which of the following is the correct format for function call?
a) add (a, b);
b) add {a, b};
c) add [a, b];
d) none of these
Which of the following is more effective while calling the function?
a) call by value
b) call by reference
c) call by pointer
d) call by object
Function ………is to invoke the code of function by name.
a) declaration
b) call
c) definition
d) none of these
In C++, int main () returns which data type value by default?
a) float
b) int
c) char
d) double