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 multilevel inheritance in oop?

557


What are the benefits of interface?

583


When not to use object oriented programming?

572


Why is polymorphism used?

587


write a programe to calculate the simple intrest and compund intrest using by function overlading

1670






write knight tour problem which is present in datastructure

2168


Explain the concepts involved in Object Oriented programming.

642


What is multilevel inheritance explain with example?

629


What is the difference between static polymorphism and dynamic polymorphism?

587


Can an interface inherit a class?

565


what are the realtime excercises in C++?

2337


can we make game by using c

3432


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1645


What is the diamond problem in inheritance?

579


What is the renewal class?

2169