More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
ECAT Computer Science Chapter 12 Introduction to C Language Online Test MCQs With Answers
Question # 1
The parameters in function declaration is called:
Choose an answer
Formal parameters
Actual parameters
Both A and B
Returned parameters
Previous
Skip
Next
Question # 2
Variable is allocated to a local variable at the time of its:
Choose an answer
Declaration
Destruction
Definition
First reference
Previous
Skip
Next
Question # 3
The process of sending an argument to a function is called:
Choose an answer
Sending
Filtering
Delivering
Passing
Previous
Skip
Next
Question # 4
Multiple arguments to a function are separated by:
Choose an answer
Coments
Semicolons
Colons
Commas
Previous
Skip
Next
Question # 5
Function prototype for built-in functions are specified In
Choose an answer
Source file
Header file
Object file
Image file
Previous
Skip
Next
Question # 6
The name of actual and formal parameters:
Choose an answer
May or may not be same
Must be same
Must be different
Must be in lower case
Previous
Skip
Next
Question # 7
Which of the following looks for the prototypes of functions used in a program?
Choose an answer
Linker
Loader
Compiler
Parser
Previous
Skip
Next
Question # 8
Function declaration consist:
Choose an answer
Function name
Function return type
Number and types of parameters
All of these
Previous
Skip
Next
Question # 9
Global variables are created in:
Choose an answer
RAM
ROM
Hard disk
Cache
Previous
Skip
Next
Question # 10
Memory is allocated to a local variable at the time of its
Choose an answer
Declaration
Destruction
Definition
First reference
Previous
Skip
Next
Question # 11
Which of the following is type of function available in C language?
Choose an answer
User defined
Built in
Subprogram
Both A and B
Previous
Skip
Next
Question # 12
Function definition can be written
Choose an answer
Before main() function
After main() function
In a separate file
All of these
Previous
Skip
Next
Question # 13
Which of the following is incorrect?
Choose an answer
A function can call another function
A function can be calling many times in a program
A function can return values input by user
A function must have at least one value parameter
Previous
Skip
Next
Question # 14
Which statement is used by a function used to return a value:
Choose an answer
Given
Return
Continue
Send
Previous
Skip
Next
Question # 15
Formal arguments are also called
Choose an answer
Actual arguments
Dummy arguments
Original arguments
Referenced arguments
Previous
Skip
Next
Back