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
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 # 2
Global variables are created In
Choose an answer
RAM
ROM
Hard disk
Cache
Previous
Skip
Next
Question # 3
Function declaration consists of
Choose an answer
Function name
Function return type
Number and types of parameters
All of these
Previous
Skip
Next
Question # 4
A built-in function:
Choose an answer
Cannot be redefined
Can be redefined
Cannot return a value
Should be redefined
Previous
Skip
Next
Question # 5
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 # 6
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 # 7
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 # 8
What is a variable name that is used by a function to receive passed values?
Choose an answer
Function
Parameter
Expression
Constant
Previous
Skip
Next
Question # 9
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 # 10
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 # 11
The printf is a:
Choose an answer
Built-in function
User defined function
Local function
Keyword
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
Function prototype for built-in functions are specified in:
Choose an answer
Source file
Header file
Object file
Image file
Previous
Skip
Next
Question # 14
The statement that activates a function is known as:
Choose an answer
Function call
Function output
Function design
Function definition
Previous
Skip
Next
Question # 15
A variable declared inside a function is known as:
Choose an answer
Local variable
Global variable
Automatic variable
A and C
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