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
Memory is allocated to a local variable at the time of its
Choose an answer
Declaration
Destruction
Definition
First reference
Previous
Skip
Next
Question # 2
In a C program, two functions can have:
Choose an answer
Same name
Same parameters
Same name and same parameters
Same name but different parameters
Previous
Skip
Next
Question # 3
Which statement is used by a function used to return a value:
Choose an answer
Given
Return
Continue
Send
Previous
Skip
Next
Question # 4
The process of sending an argument to a function is called:
Choose an answer
Sending
Filtering
Delivering
Passing
Previous
Skip
Next
Question # 5
The parameters in function declaration is called:
Choose an answer
Formal parameters
Actual parameters
Both A and B
Returned parameters
Previous
Skip
Next
Question # 6
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 # 7
A built-in function:
Choose an answer
Cannot be redefined
Can be redefined
Cannot return a value
Should be redefined
Previous
Skip
Next
Question # 8
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 # 9
Function declaration can be written:
Choose an answer
Before main() function
After main() function
In a separate file
All of these
Previous
Skip
Next
Question # 10
The function definition consists of:
Choose an answer
Function header of function declaration
Function body
Both A and B
None of these
Previous
Skip
Next
Question # 11
Which of the following steps takes place when function is called:
Choose an answer
The control moves to the function that is called
All statements in the body of function are executed
The control returns back to the calling function
All of these
Previous
Skip
Next
Question # 12
The statement that activates a function is known as:
Choose an answer
Function call
Function output
Function design
Function definition
Previous
Skip
Next
Question # 13
Which of the following is true about a function call?
Choose an answer
Stops to execution of the program
Transfer control to the called function
Transfer control to the main function
Resumes the execution of the program
Previous
Skip
Next
Question # 14
Formal arguments are also called
Choose an answer
Actual arguments
Dummy arguments
Original arguments
Referenced arguments
Previous
Skip
Next
Question # 15
The printf is a
Choose an answer
Built-in function
User-defined function
Local function
Keyword
Previous
Skip
Next
Question # 16
The first line of function definition is known as:
Choose an answer
Function header
Function body
Arguments
Return type
Previous
Skip
Next
Back