what is the main difference between c and c++?
Answer Posted / prakash kumawat
c is function or procedure oriented whereas c++ is object
oriented.it focus primariy on tht actions and events and
the programming model focuses on the logical assertions
that trigger execution of programme code whereas c++is
focusedon writingprogramas thet are more readable and
maintainable and helps the reuse of code by packing a group
of similar objects,inheritance and polymorphism. C was THE
C++ predecessor. A lot of c remains in c++.In c, the
result of applying the operator size to a character
constant. for example:- size of('c'),equalssize of (int).IN
c++,the expressionsize of('c'),returns size of(char).
| Is This Answer Correct ? | 191 Yes | 58 No |
Post New Answer View All Answers
What is oops and why we use oops?
What is meant by oops concept?
What is pure oop?
What is the point of oop?
What is object-oriented programming? Webopedia definition
Can static class have constructor?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
what is difference between class template and template class?
What is encapsulation oop?
What makes a language oop?
Whats oop mean?
why reinterpret cast is considered dangerous?
Is data hiding and abstraction same?
What is property in oops?
What language is oop?