1 |
The process of sending an argument to a function is called: |
Sending
Filtering
Delivering
Passing
|
2 |
A value that can be sent to a function is known as: |
Returned value
Indicator
Argument
Automatic variable
|
3 |
Function declaration can be written: |
Before main() function
After main() function
In a separate file
All of these
|
4 |
Which of the following is not valid function declaration? |
Int ave3(int a, int b, int c);
Int 3ave(int a, int b, int c);
int ave_3(int, int, int);
int ave_3(int a1, int a2, int a3);
|
5 |
In a C program, two functions can have: |
Same name
Same parameters
Same name and same parameters
Same name but different parameters
|
6 |
Function declaration consist: |
Function name
Function return type
Number and types of parameters
All of these
|
7 |
A built-in function: |
Cannot be redefined
Can be redefined
Cannot return a value
Should be redefined
|
8 |
The printf is a: |
Built-in function
User defined function
Local function
Keyword
|
9 |
Formal arguments are also called: |
Actual arguments
Dummy arguments
Original arguments
Referenced arguments
|
10 |
The name of actual and formal parameters: |
May or may not be same
Must be same
Must be different
Must be in lower case
|
11 |
Variable is allocated to a local variable at the time of its: |
Declaration
Destruction
Definition
First reference
|
12 |
Global variables are created in: |
RAM
ROM
Hard disk
Cache
|
13 |
Function prototype for built-in functions are specified in: |
Source file
Header file
Object file
Image file
|
14 |
Another name for built in function: |
User defined function
Library function
Arithmetic function
Both A and B
|
15 |
Which of the following is type of function available in C language? |
User defined
Built in
Subprogram
Both A and B
|