1 |
Which of the following looks for the prototypes of function used in a program? |
- A. Linker
- B. Loader
- C. Compiler
- D. Parser
|
2 |
Another name for build-in function is: |
- A. User-defined function
- B. Arithmetic function
- C. Library function
- D. Both a and b
|
3 |
Which of the following is NOT a valid function declaration? |
- A. int ave3(int a, int b, int c)
- B. int 3ave(int a, int b, int c)
- C. int ave3(int, int, int)
- D. int ave_3(int a1, int b2, int c3)
|
4 |
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
|
5 |
The statement that activities a function is known as: |
- A. Function call
- B. Function output
- C. Function design
- D. Function definition
|
6 |
A value that can be sent to a function is known as: |
- A. Return value
- B. Indicator
- C. Argument
- D. Automatic variable
|
7 |
A type of functions written by the programmer is known as: |
- A. User-defined
- B. Subprograms
- C. Subroutines
- D. Built-in function
|
8 |
Function define can be written: |
- A. Before main() function
- B. After main() function
- C. in a separate file
- D. All of these
|
9 |
The scope of a variable refers to its: |
- A. Lengh
- B. Name
- C. Accessibility
- D. Data type
|
10 |
Multiple arguments to a function are separated by: |
- A. Comments
- B. Semicolons
- C. Colons
- D. Commas
|