1 |
Multiple arguments to a function are separated by: |
- A. Comments
- B. Semicolons
- C. Colons
- D. Commas
|
2 |
The function definition consists of: |
- A. Function header or function declaration
- B. Function body
- C. Both a and b
- D. None
|
3 |
Global variable are created in: |
- A. RAM
- B. ROM
- C. Hard Disk
- D. Cache
|
4 |
The name of actual and formal parameters: |
- A. May or may not be same
- B. Must be same
- C. Must be different
- D. Must be in lower case
|
5 |
The first line of function definition is known as: |
- A. Function header
- B. Function body
- C. Arguments
- D. Return type
|
6 |
A variable declared inside a function is known as: |
- A. Local variable
- B. Global variable
- C. Automatic variable
- D. A and C
|
7 |
The printf is a : |
- A. Build-in function
- B. User-defined function
- C. Local function
- D. Keyword
|
8 |
In a C program, two function can have: |
- A. Same name
- B. Same parameters
- C. Same name & Same parameters
- D. Same name but different parameters
|
9 |
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
|
10 |
Which of the following is incorrect? |
- A. A function can call another function
- B. A function can be called many times in a program
- C. A function can return values input by the user
- D. A function must at least one variable parameter
|