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 difference between a mixin and inheritance?
What is polymorphism what are the different types of polymorphism?
Why interface is used?
How do you use inheritance in unity?
What is destructor in oop?
What are objects in oop?
What is inheritance write a program to show use of inheritance?
#include
What is the main purpose of inheritance law?
What is the point of polymorphism?
Why polymorphism is used in oops?
What is static in oop?
How many human genes are polymorphic?
What does and I oop mean?
What is the significance of classes in oop?