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
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
How is polymorphism achieved?
Why do we use encapsulation in oops?
What is purpose of inheritance?
Why oops is important?
What is encapsulation oop?
any one please tell me the purpose of operator overloading
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is the example of polymorphism?
What causes polymorphism?
What is pure oop?
What is a function in oop?
program for insertion ,deletion,sorting in double link list
can inline function declare in private part of class?
What is overloading and its types?