A variable that is declared inside the block is called……
a) global variables
b) local variables
c) inside variables
d) none of these
What is the purpose of parenthesis () in function call?
a) operator in C++
b) causes the function to be called
c) causes the syntax error
d) both a & b
Modules in C++ are called……
a) functions
b) classes
c) programs
d) both a & b
Which of the following is used for invoking functions?
a) call by reference
b) call by value
c) call by function
d) both a & b
How many ways to invoke a function in C++?
a) 1
b) 2
c) 3
d) 4
Explanation: call by reference, call by value
All variables declared in function definition are called…..
a) protected variables
b) local variables
c) global variables
d) private variables