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

Answer Posted / sindhu,swetha,charitha

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 ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2038


what is the sylabus for priliminaries?

1691


Which is not an object oriented programming language?

544


What is object and class in oops?

590


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2110






What are benefits of oop?

641


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?

1411


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1585


What is the types of inheritance?

604


What language is oop?

597


How oops is better than procedural?

594


Get me an image implementation program.

1561


write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory

2765


Why do pointers exist?

665


What are properties in oop?

613