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
Formal arguments are also called:
Choose an answer
Actual arguments
Dummy arguments
Original arguments
Referenced arguments
Previous
Skip
Next
Question # 2
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 # 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
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 # 5
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 # 6
Memory is allocated to a local variable at the time of its
Choose an answer
Declaration
Destruction
Definition
First reference
Previous
Skip
Next
Question # 7
Multiple arguments to a function are separated by:
Choose an answer
Coments
Semicolons
Colons
Commas
Previous
Skip
Next
Question # 8
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 # 9
The process of sending an argument to a function is called:
Choose an answer
Sending
Filtering
Delivering
Passing
Previous
Skip
Next
Question # 10
Which statement is used by a function used to return a value:
Choose an answer
Given
Return
Continue
Send
Previous
Skip
Next
Question # 11
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 # 12
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 # 13
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 # 14
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 # 15
Which of the following can return a value
Choose an answer
Function
Procedure
Both A and B
None of above
Previous
Skip
Next
Question # 16
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
Back