what is the main difference between c and c++?
Answer Posted / vivek sagar jaiswal
*c is the procedure oriented programing.
c++ is the object oriented programing.
*c is the low level language.
c++ is the high level language.
*c is top-down approach
c++ is bottom-top approach.
*c is structured design
c++ is object oriented design .
*c does not deal with real world problems properly
eg. Maintaining a database.
while c++ deals with real world problems.
*In c we declare variable at the start of block...
In c++ we can declare it any where.....
*c the data can pass through the fuction to fuction.
Data is hidden and can’t be accessed by the external function.
*We can’t work with Class in C .
We can work with Class in C++ .
*c is not required acces
specifiers .
C++ is required acces
Specifiers .
*c has not inheritance concept .
c++ has inheritance concept .
*C can't support
of all function of C++.
C++ can support of all function of C
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the two different types of polymorphism?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What does no cap mean?
What is encapsulation with example?
Why polymorphism is used in oops?
How do you use inheritance in unity?
What are the three parts of a simple empty class?
What is class and object in oops?
How oops is better than procedural?
What is oops and its features?
What is interface in oop?
what type of questions
what type of question are asked in thoughtworks pair programming round ?
Why is abstraction used?
What do you mean by variable?