what is the main difference between c and c++?
Answer Posted / a.sivasankar
i)C++ is an pure object oriented program language.
ii)c++ is an bottom up approach but c is an top down approach
ii)In c++ using classes and object but not in c.
iv)In c++ one of main advantage reusability, we can deriving
the propertis from one class to another but not in c
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
write a C++ program for booking using constructor and destructor.
What is oops concept with example?
What is abstract class in oop?
What is the difference between abstraction and polymorphism?
What is abstraction oop?
What is the difference between a constructor and a destructor?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
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 cohesion in oop?
what is graphics
what type of questions
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
What are the benefits of polymorphism?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is oops in simple words?