what is the main difference between c and c++?
Answer Posted / waseem akram
The major difference between c & c++ is OOPs Concept..C
doesnt haves this C++ has this.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
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 are the three parts of a simple empty class?
Can we override main method?
Where You Can Use Interface in your Project
What is a superclass in oop?
Which is not an object oriented programming language?
What is the benefit of oop?
What is the renewal class?
What is the problem with multiple inheritance?
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 realtime excercises in C++?
Can enum be null?
What is the diamond problem in inheritance?
How Do you Code Composition and Aggregation in C++ ?