Can constructor be private in c++?
No Answer is Posted For this Question
Be the First to Post Answer
Write a program to interchange 2 variables without using the third one.
class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4
What is a sequence in c++?
Do we have private destructors?
Memory is not a constraint. In a single iteration(NOTE: you can't go back), how will you find out the 10th last node/item in a linked list.
16 Answers BNB, FDS, Goldman Sachs, Nagarro,
What is a c++ map?
What relational operators if statements in c++?
What are the general quetions are in DEna bank manager IT/System interviews?
Eplain extern keyword?
What is setw manipulator in c++?
What is the use of "new" operator?
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
0 Answers College School Exams Tests, CS,