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
can inline function declare in private part of class?
What do you mean by Encapsulation?
Why do we use encapsulation in oops?
What is coupling in oop?
What is meant by multiple inheritance?
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
What type of loop is a for loop?
What is abstraction in oops with example?
Get me a number puzzle game-program
Why do we use polymorphism in oops?
What is difference between abstraction and encapsulation?
Why is oop better than procedural?
How can you overcome the diamond problem in inheritance?
How is polymorphism achieved?
What is difference between data abstraction and encapsulation?