View more random threads:
- MGT402 (solved) mcq's for midterm fall 2010
- cs604 solved quiz on 3rd of December, 2012
- MGT411 Current Online Quizzes Solved more than 100 MCQ's...
- MGT602 MCQ Help fall 2010
- MCM301 Communication skills Quiz 3 Fall Semester 2012-13
- cs605 software engineering 2 online solved quiz spring 2012
- MGT201 - Financial Management solved mcqs data bank 2000...
- FINALTERM EXAMINATION Spring 2011 PAK301 Pakistan...
- cs302 Digital Logic Design solve mid term papers april ...
- cs610 computer network solved quiz no 2 on 18th november...
CS304 Object Oriented Programming Solve Quiz No.2 Fall Semester 2012
Identify which of the following overloaded operator function’s declaration is appropriate for the given call? Rational_number_1 + 2.325 Where Rational_number_1 is an object of user defined class Rational_number.
Select correct option:
Rational_number operator+( Rational_number & obj);
None of the given choices
Rational_number operator+(Rational_number &obj, double& num);
operator+(double& obj);
In _______________ a pointer or reference to an object is created inside a class
Select correct option:
Aggregation
Composition
Seperation
None of the given
Sub-Object can not be initialized using the constructor
Select correct option:
True
False
Sponsored Links
To initialize an array of objects, only _____________ will be called
Select correct option:
Defualt Constructor
Overloaded Constructor
Default Object
None of the above
Let Suppose a class Student with objects std1, std2, and std3. For the statement std3 = std1 – std2 to work correctly, if the overloaded – operator must
Select correct option:
take two arguments.
None of the given choices
take single argument
take three arguments
Copy constructor is called when:
Select correct option:
An object is created in term of pre existence object
An object is created
An object is initialized
None of the given
Which of the following operator doesn’t take any argument if overloaded?
Select correct option:
/
-
+
None of the given choices
Object can be declared constant with the use of Constant keyword.
Select correct option:
True
False
Always make pointer to null, whenever dynamic memory is deleted.
Select correct option:
True
False
__________ provide the facility to access the data member.
Select correct option:
accesser function
private function
inline function
None of the given
There are currently 1 users browsing this thread. (0 members and 1 guests)