Functions - C++ Objective Questions and Answers
6. |
How many types of scopes in C++? |
|
|
7. |
The calling function parameters are called as ......... |
|
- A. dummy parameters
- B. formal parameters
- C. actual parameters
- D. duplicate parameters
|
8. |
Which function executes faster but requires more memory space? |
|
- A. Normal function
- B. Void function
- C. Inline function
- D. Regular function
|
9. |
In ........ a local variable is defined within a block. |
|
- A. class scope
- B. function scope
- C. file scope
- D. local scope
|
10. |
The return type of the function prototype float power (float, int) is ......... |
|
- A. int
- B. char
- C. float
- D. double
|