1 |
Which of the following is NOT a valid function declaration? |
int ave3(int a, int b, int c)
int 3ave(int a, int b, int c)
int ave3(int, int, int)
int ave_3(int a1, int b2, int c3)
|
2 |
In a C program, two function can have: |
Same name
Same parameters
Same name & Same parameters
Same name but different parameters
|
3 |
Function declaration consists of: |
Function name
Function return type
Number and types of parameters
All of these
|
4 |
A build-in function: |
Cannot be redefine
Can be redefined
Cannot return a value
Should be redefined
|
5 |
The printf is a : |
Build-in function
User-defined function
Local function
Keyword
|
6 |
Formal arguments are also called: |
Actual arguments
Dummy arguments
Original arguments
Referenced arguments
|
7 |
The name of actual and formal parameters: |
May or may not be same
Must be same
Must be different
Must be in lower case
|
8 |
Memory is allocated to a local variable at the time of the : |
Declaration
Destruction
Definition
First reference
|
9 |
Global variable are created in: |
RAM
ROM
Hard Disk
Cache
|
10 |
Function prototype for built-in-function are specified in: |
Source file
Header file
Object file
Image files
|