what is the main difference between c and c++?
Answer Posted / akrita agarwal
Operator and function overloading
Operator and function overloading is not supported by C. If a function has a name, then that function can't use in the program again. But using C++, that is possible. You can use the same function name with different arguments.
Char string limit
C can only recognizes first 32 char of string. But C++ doesn't pose this type of limitation.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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 advantage of inheritance?
What is oops and why we use oops?
What does no cap mean?
What is encapsulation with real life example?
Is enum a class?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Why oops is important?
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
What language is oop?
Why do we use oops?
How do you explain polymorphism?
How do you define a class in oop?
What are main features of oop?
Why do we use oop?