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 protected in oop?
How do you use inheritance in unity?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
Why is encapsulation used?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
what are the different types of qualifier in java?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What is encapsulation with real life example?
What are classes oop?
What does and I oop mean in text?
Get me an image implementation program.
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
Which language is pure oop?
write string class as your own class in java without using any built-in function
What is constructor in oop?