what is the main difference between c and c++?
Answer Posted / vijayasekar
1.C does not have any classes or objects. It is procedure
and function driven. There is no concept of access through
objects and structures are the only place where there is a
access through a compacted variable. c++ is object oriented
2.C structures have a different behaviour compared to c++
structures. Structures in c do not accept functions as
their parts.
3.C input/output is based on library and the processes are
carried out by including functions. C++ i/o is made through
console commands cin and cout.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Why is there no multiple inheritance?
What is inheritance in oop?
What is abstraction in oop with example?
What is the advantage of oop over procedural language?
What is inheritance in simple words?
What is oops and why we use oops?
What is purpose of inheritance?
What is an advantage of polymorphism?
What is the problem with multiple inheritance?
What makes a language oop?
can inline function declare in private part of class?
What is polymorphism what are the different types of polymorphism?
What is constructor overloading in oop?
What is encapsulation and abstraction? How are they implemented in C++?
What is meant by oops concept?