what is the main difference between c and c++?
Answer Posted / er.ashish singh
1)C++ allows the programmer to create classes, which are
somewhat similar to C structures. However, to a class can
be assigned methods, functions associated to it, of various
prototypes, which can access and operate within the class,
somewhat like C functions often operate on a supplied
handler pointer.
2)Although it is possible to implement anything which C++
could implement in C, C++ aids to standarize a way in which
objects are created and managed, whereas the C programmer
who implements the same system has alot of liberty on how
to actually implement the internals, and style among
programmers will vary alot on the design choices made.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Explain the advantages of inheritance.
What is cohesion in oop?
which feature are not hold visual basic of oop?
is there any choice in opting subjects like 4 out of 7
Is oop better than procedural?
What is the problem with multiple inheritance?
What is encapsulation process?
What is meant by oops concept?
Which language is pure oop?
What is object in oop with example?
Why is oop useful?
What are classes oop?
What is constructor in oop?
What is stream in oop?
How do you achieve polymorphism?