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
What is cohesion in oop?
What is encapsulation in oop?
What type of loop is a for loop?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is advantage of inheritance?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is multilevel inheritance?
What is abstraction in oop?
What is overloading in oop?
Can enum be null?
how to get the oracle certification? send me the answer
What is and I oop mean?
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
What is abstraction example?
What is the difference between a mixin and inheritance?