what is the main difference between c and c++?

Answer Posted / chetna chaudhari

in c we use scanf function as standard input function,while
in c++ we use streame cin>> for input.like this for output
in c we use printf function,while in c++ we use cout<< as a
output function.

Is This Answer Correct ?    2605 Yes 784 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the oops and benefits of oops programming?

716


What does I oop mean?

815


What is abstraction in oop with example?

839


What are the benefits of interface?

777


c++ program to swap the objects of two different classes

2101


What is the difference between procedural programming and oops?

754


How do you achieve polymorphism?

807


Prepare me a program for the animation of train

2194


What is the difference between a mixin and inheritance?

710


What is a superclass in oop?

900


Explain virtual inheritance?

879


What is the difference between encapsulation and polymorphism?

804


What is oops in programming?

741


Why is destructor used?

746


How do you answer polymorphism?

780