what is the main difference between c and c++?
Answer Posted / vinod
C++ support the exception handling while c does not support exception handling feature. c++ is a superset of c i.e. c++ can run most of c code while c can not run c++ code.
Data hiding future are not present in the c language while data hiding future are present in the c++ language this is oop future.
we can call the (Function) method throw the object in the c++, while in c object are not used.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is destructor used?
Whats oop mean?
Why is polymorphism needed?
Which language is pure oop?
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 is the full form of oops?
Can we create object of interface?
Write a c++ program to display pass and fail for three student using static member function
What are the components of marker interface?
How can you overcome the diamond problem in inheritance?
#include
Why it is called runtime polymorphism?
What exactly is polymorphism?
What is meant by multiple inheritance?
What is ambiguity in inheritance?