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
CS-201 Final Term Exams Preparation Virtual University MCQs With Answers
Question # 1
Operator overloading can be performed through__________________.
Choose an answer
Classes
Function
Operators
Reference
Previous
Skip
Next
Question # 2
The first parameter of overloaded stream insertion operator is _________ where second parameter is _______ .
Choose an answer
input stream, object of class
object of class, output stream
output stream, object of class
object of class, input stream
Previous
Skip
Next
Question # 3
Assignment operator is -------------------------associative.
Choose an answer
right
left
binary
unary
Previous
Skip
Next
Question # 4
The endl and flush are _______
Choose an answer
Functions
Operators
Manipulators
Objects
Previous
Skip
Next
Question # 5
Class is a user defined___________.
Choose an answer
Data type
Memory referee
Value
None of the given options
Previous
Skip
Next
Question # 6
The operator used for casting, in C, is standard ________ operator.
Choose an answer
none of the given options
cast
cost
const
Previous
Skip
Next
Question # 7
Which of the following function is used to increase the size of already allocated memory chunk?
Choose an answer
malloc
calloc
realloc
free
Previous
Skip
Next
Question # 8
The default value of a parameter can be provided inside the ________________
Choose an answer
function prototype
function definition
both function prototype or function definition
none of the given options
Previous
Skip
Next
Question # 9
Friend functions are _____ of a class
Choose an answer
Member functions
Public member functions
Private member functions
Non-member functions
Previous
Skip
Next
Question # 10
Classes defined inside other classes are called ________ classes.
Choose an answer
looped
nested
overloaded
none of the given options
Previous
Skip
Next
Question # 11
Which of the following function(s) is/are included in ctype.h header file?
Choose an answer
isdigit(int c)
isxdigit(int c )
tolower(int c)
All of the above
Previous
Skip
Next
Back