1 |
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
|
2 |
Multiple arguments to a function are separated by: |
- A. Comments
- B. Semicolons
- C. Colons
- D. Commas
|
3 |
The printf is a : |
- A. Build-in function
- B. User-defined function
- C. Local function
- D. Keyword
|
4 |
Local variables are also called: |
- A. Automatic variables
- B. Normal variables
- C. Global variables
- D. Basic variables
|
5 |
Which of the following is type of function available in C language? |
- A. User-defined
- B. Build-in
- C. Subprogram
- D. Both a and b
|
6 |
The function definition consists of: |
- A. Function header or function declaration
- B. Function body
- C. Both a and b
- D. None
|
7 |
A variable declared inside a function is known as: |
- A. Local variable
- B. Global variable
- C. Automatic variable
- D. A and C
|
8 |
The parameters in function declaration are called: |
- A. Formal parameters
- B. Actual parameters
- C. Both a and b
- D. Returned parameters
|
9 |
Function declaration consists of: |
- A. Function name
- B. Function return type
- C. Number and types of parameters
- D. All of these
|
10 |
A type of function that is available as part of language is known as: |
- A. User-defined function
- B. Library function
- C. Sun-program
- D. Both a and b
|