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 printf is a:
Choose an answer
Built-in function
User defined function
Local function
Keyword
Previous
Skip
Next
Question # 2
A value that can be sent to a function is known as:
Choose an answer
Returned value
Indicator
Argument
Automatic variable
Previous
Skip
Next
Question # 3
The scope of a variable refers to its:
Choose an answer
Length
Name
Accessibility
Data type
Previous
Skip
Next
Question # 4
Function declaration consists of
Choose an answer
Function name
Function return type
Number and types of parameters
All of these
Previous
Skip
Next
Question # 5
Multiple arguments to a function are separated by:
Choose an answer
Coments
Semicolons
Colons
Commas
Previous
Skip
Next
Question # 6
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 # 7
Which of the following can return a value
Choose an answer
Function
Procedure
Both A and B
None of above
Previous
Skip
Next
Question # 8
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 # 9
The printf is a
Choose an answer
Built-in function
User-defined function
Local function
Keyword
Previous
Skip
Next
Question # 10
A type of function that is available as part of language is known as
Choose an answer
User-defined function
Library function
Sub-program
Both a and b
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
A built-In function
Choose an answer
Cannot be redefined
Can be redefined
Cannot return a value
Should be redefined
Previous
Skip
Next
Question # 13
Which of the following is type of function available in C language?
Choose an answer
User-defined
Arithmetic function
Both a and b
Library function
Previous
Skip
Next
Question # 14
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 # 15
Function declaration consist:
Choose an answer
Function name
Function return type
Number and types of parameters
All of these
Previous
Skip
Next
Back