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
Can destructor be overloaded?
What is the purpose of polymorphism?
program for insertion ,deletion,sorting in double link list
officer say me - i am offered to a smoking , then what can you say
What is meant by oops concept?
What is purpose of inheritance?
How is class defined?
What is abstraction encapsulation?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
what type of questions
What is interface? When and where is it used?
c++ program to swap the objects of two different classes
What is destructor give example?
what's the basic's in dot net
What does it mean when someone says I oop?