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
Function prototype for built-in functions are specified in:
Choose an answer
Source file
Header file
Object file
Image file
Previous
Skip
Next
Question # 3
Which of the following Is NOT a valid function declaration?
Choose an answer
Int ave3(int a, Int b, Int c);
Int 3ave(Int a, Int b, Iht c);
int ave3(int, int, int);
int ave_3(int al, int a2, Int a3)
Previous
Skip
Next
Question # 4
Formal arguments are also called:
Choose an answer
Actual arguments
Dummy arguments
Original arguments
Referenced arguments
Previous
Skip
Next
Question # 5
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 # 6
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 # 7
Global variables are created In
Choose an answer
RAM
ROM
Hard disk
Cache
Previous
Skip
Next
Question # 8
Variable is allocated to a local variable at the time of its:
Choose an answer
Declaration
Destruction
Definition
First reference
Previous
Skip
Next
Question # 9
Function prototype for built-in functions are specified In
Choose an answer
Source file
Header file
Object file
Image file
Previous
Skip
Next
Question # 10
Which of the following is not valid function declaration?
Choose an answer
Int ave3(int a, int b, int c);
Int 3ave(int a, int b, int c);
int ave_3(int, int, int);
int ave_3(int a1, int a2, int a3);
Previous
Skip
Next
Question # 11
The process of sending an argument to a function is called:
Choose an answer
Sending
Filtering
Delivering
Passing
Previous
Skip
Next
Question # 12
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 # 13
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 # 14
The printf is a
Choose an answer
Built-in function
User-defined function
Local function
Keyword
Previous
Skip
Next
Question # 15
Global variables are created in:
Choose an answer
RAM
ROM
Hard disk
Cache
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