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
What is inheritance in simple words?
What is encapsulation example?
Can we override main method?
How can you overcome the diamond problem in inheritance?
What is advantage of inheritance?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
What is destructor give example?
Why is polymorphism needed?
Which method cannot be overridden?
Why interface is used?
What is the difference between a mixin and inheritance?
Why is abstraction needed?
How do you use inheritance in unity?
What polymorphism means?
What is difference between polymorphism and inheritance?