Why do we use classes in programming?
No Answer is Posted For this Question
Be the First to Post Answer
Why do we need runtime polymorphism in c++?
what are the iterator and generic algorithms.
int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}
Implement strncpy
Differentiate between a constructor and a destructor in c++.
What is the use of endl in c++ give an example?
Explain the isa and hasa class relationships. How would you implement each?
Where are setjmp and longjmp used in c++?
What is the prototype of printf function?
Can you pass a vector to a 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
difference between the c++ and c languages