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 encapsulation in oops?
What is overriding in oop?
Why it is called runtime polymorphism?
Can a varargs method be overloaded?
How long to learn object oriented programming?
What is the point of oop?
What are the 4 pillars of oop?
What is a class and object?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Why is there no multiple inheritance?
How do you define a class in oop?
What causes polymorphism?
What is polymorphism explain?
Can you explain polymorphism?
Why do we use class?