what is the main difference between c and c++?
Answer Posted / annie
1)C is procedure oriented language whereas c++ is object
oriented language.
2)C uses top down approach whereas c++ uses bottom up approach.
3)We can declare variables in the body of main() at the
beginning whereas we can declare variables anytime in c++
when we want to use them.
4)There is no concept of operator overloading in c whereas
there is a concept of operator overloading in c++.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can an interface inherit a class?
Why do we use class in oops?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
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 the problem with multiple inheritance?
What is abstraction in oops with example?
What is debug class?what is trace class? What differences are between them? With examples.
Why multiple inheritance is not possible?
What is static in oop?
Templates mean
What is polymorphism oop?
Why do we use polymorphism?
How long to learn object oriented programming?
What is difference between data abstraction and encapsulation?
What is variable example?