Top 1000+ Computer Knowledge Questions and Answers for Competitive Exams - 1
Question: 1
Each overloaded function must differ
(A) either by number of arguments or by data types of arguments
(B) by number of argument
(C) by type of arguments
(D) none of the given
Ans: A
either by number of arguments or by data types of arguments
Question: 2
When binary operators are overloaded, _____
(A) both the right and left objects must be object of the relevant class
(B) the right hand object must be an object of the relevant class
(C) the left hand object must be an object of the relevant class
(D) none of the given
Ans: C
the left hand object must be an object of the relevant class
Question: 3
A _____ is a set of mn numbers arranged in the form of a rectangular array of m rows and n columns.
(A) array
(B) row
(C) determinant
(D) matrix
Ans: D
matrix
Question: 4
In an example int *a; which one is the pointer variable?
(A) int
(B) *
(C) a
(D) ;
Ans: C
a
Question: 5
When overloading operators, the overloaded operator must have
(A) all the operands of C++ data type
(B) atleast one operand of user defined type
(C) all the operands of user defined type
(D) none of the given
Ans: B
atleast one operand of user defined type
- Top 1000 C++ Quiz
- Object Oriented Programming MCQ Questions and Answers Pdf
- Top 100+ Object Oriented Programming Quiz Questions & Answers
- Top 100+ Object Oriented Programming Online Test
- Object Oriented Programming Objective Questions and Answer Pdf
- Top 1000+ Computer Knowledge Questions and Answers for Competitive Exams
DC Generator Questions and Answers Pdf More
Electromagnetic Induction Quiz Questions and Answers More
Basic Electronics Quiz Questions with Answers Pdf More
Wireless Communication MCQ Questions with Answers More
Digital Communication Quiz Questions and Answers Pdf More
100+ Time and Distance Questions for Competitive Exams More
1000+ Airport Engineering MCQ Questions and Answers More
Number Logic Puzzles with Answers More
One Word Substitution Quiz More
PG TRB Commerce Previous Year Question Papers with Answers More