what is the main difference between c and c++?
Answer Posted / kakkar & kainth
=> c is procedural as well as structured language while c++
is procedural and object oriented.
=> c++ is an extension of c.
=> various i/o functions in c++ are performed using
iostream.h while in c it is done through stdio.h.
=>instead of scanf,cin>> is used in c++ and instead of
printf, cout<< is used in c++.
=>c is top down approach while c++ is bottom up approach.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the point of oop?
What does I oop mean?
What type of loop is a for loop?
What is encapsulation c#?
What is the advantage of oop over procedural language?
What is overloading in oops?
any one please tell me the purpose of operator overloading
What is object in oop with example?
What is encapsulation with real life example?
what is difference between class template and template class?
What is inheritance in simple words?
What is the purpose of polymorphism?
What is class and object in oops?
What is the important feature of inheritance?
What is ambiguity in inheritance?