1 |
Which of the following is true about a function call? |
- A. Stops the execution of the program
- B. Transfer control to the called function
- C. Transfer control to the main function
- D. Resumes the execution of the function
|
2 |
Which statement is used by a function use to return a value? |
- A. Give
- B. Return
- C. Continue
- D. Send
|
3 |
The statement that activities a function is known as: |
- A. Function call
- B. Function output
- C. Function design
- D. Function definition
|
4 |
A variable declaration outside any function is known as: |
- A. Global variable
- B. Local variable
- C. External variable
- D. Static variable
|
5 |
The first line of function definition is known as: |
- A. Function header
- B. Function body
- C. Arguments
- D. Return type
|
6 |
Function declaration consists of: |
- A. Function name
- B. Function return type
- C. Number and types of parameters
- D. All of these
|
7 |
Memory is allocated to a local variable at the time of the : |
- A. Declaration
- B. Destruction
- C. Definition
- D. First reference
|
8 |
A type of functions written by the programmer is known as: |
- A. User-defined
- B. Subprograms
- C. Subroutines
- D. Built-in function
|
9 |
Global variable are created in: |
- A. RAM
- B. ROM
- C. Hard Disk
- D. Cache
|
10 |
The printf is a : |
- A. Build-in function
- B. User-defined function
- C. Local function
- D. Keyword
|