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 oops methods?
What is multilevel inheritance explain with example?
What is solid in oops?
How is class defined?
what's the basic's in dot net
What are objects in oop?
What is the difference between a constructor and a destructor?
Write a c++ program to display pass and fail for three student using static member function
explain sub-type and sub class? atleast u have differ it into 4 points?
State what is encapsulation and friend function?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is the difference between encapsulation and polymorphism?
What is purpose of inheritance?
What type of loop is a for loop?
Which language is pure oop?