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
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is difference between inheritance and polymorphism?
What is polymorphism what is it for and how is it used?
What is stream in oop?
How to hide the base class functionality in Inheritance?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
Why do while loop is used?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What is oops and its features?
What is the main purpose of inheritance law?
What is polymorphism used for?
How to use CMutex, CSemaphore in VC++ MFC
What are two types of polymorphism?
What do you mean by Encapsulation?
What is oops?what is its use in software engineering?