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
What is abstract class in oop?
What is difference between inheritance and polymorphism?
What is ambiguity in inheritance?
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?
What language is oop?
What exactly is polymorphism?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is meant by oops concept?
Why do while loop is used?
Why do we use polymorphism?
Why is oop better than procedural?
What are the 4 pillars of oop?
how to get the oracle certification? send me the answer
What is the main feature of oop?
What is balance factor?