Will this c++ program execute or not?
No Answer is Posted For this Question
Be the First to Post Answer
What is size of Empty Class?
Explain stack unwinding.
What are inline functions? What is the syntax for defining an inline function?
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 iterator c++?
In what situations do you have to use initialization list rather than assignment in constructors?
What is difference between class and structure in c++?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y = 8; Enter a segment of code (without any IF statements) that does exectly the same thing using the switch structure.
When is the destructor called?
What is difference between initialization and assignment?
12 Answers HCL, HP, Infosys,
What is c++ course?
What is anonymous object in c++?