Answer Posted / gaurav vishnoi
Bjarne Stroustrup
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
Why is abstraction used?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
Write a program to reverse a string using recursive function?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is pure oop?
How is polymorphism achieved?
What are main features of oop?
What are the benefits of interface?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is protected in oop?
What is the advantage of oop over procedural language?
When not to use object oriented programming?
Why is encapsulation used?
What is new keyword in oops?