difference between c and c++?

Answer Posted / swapna adusumilli

c is procedure oriented language. In c first we have to
declare methods and call those methods in main(). After that
we have to implement those methods.
c is middle level language.
c++ is object oriented language and gives importance to
object that is data. Here first we have to implement
methods, after that we call those methods in main().
c++ is high level language

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about vectors in c ++?

599


What is a local variable?

582


What are the basics of local (auto) objects?

634


How do you invoke a base member function from a derived class in which you’ve overridden that function?

586


Describe Trees using C++ with an example.

610






What is the difference between an enumeration and a set of pre-processor # defines?

837


Define pre-condition and post-condition to a member function in c++?

667


What does new in c++ do?

573


Explain the purpose of the keyword volatile.

638


Is map thread safe c++?

636


What is the use of typedef?

640


what is the use of void main() in C++ language?

642


Why isn't sizeof for a struct equal to the sum of sizeof of each member?

544


What is the purpose of the "delete" operator?

624


Explain terminate() function?

596