what is the main difference between c and c++?
Answer Posted / krishnendu dey
1.C doesn't support function overloading but c++ does
2.c++ has a features of NAMESPACE which C doesn't have.
3.In C++ we can use function inside structure whereas C
doesn't permit this.
4 c- function driven
C++- object driven
5. C uses top down approach
C++ uses bottom down aproach
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is html an oop?
Why is there no multiple inheritance?
What is oops in simple words?
Can bst contain duplicates?
What is for loop and its syntax?
How does polymorphism work?
What is property in oops?
What is the difference between procedural programming and oops?
What is a class in oop?
What are the 4 pillars of oop?
How do you define social class?
any one please tell me the purpose of operator overloading
What polymorphism means?
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?
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?