what is the main difference between c and c++?
Answer Posted / mahadevaswamy
c is a pop,c++ is oop.
c is use scanf func for input,while c++ use cin>>.
c is use printf func for output,while c++ use cout<<.
c comes after A,B and c++ comes after adding ++ in c.
c use #include<stdio.h> while c++ use #include<iostream.h>.
c is topdown approach and while c++ is bottom up.
c the main prg couldn't return vslue but c++ should return
value.
c++ support operator overloading but c doesn't support
overloading .
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is for loop and its syntax?
What is the oops and benefits of oops programming?
What is the difference between procedural programming and oops?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is abstraction in oop with example?
Why do we use oops?
Why do we use inheritance?
what is difference between class template and template class?
How does polymorphism work?
What makes a language oop?
Why is object oriented programming so hard?
What is the main feature of oop?
What are the benefits of oop?
What is polymorphism used for?
Which is better struts or spring?