Answer Posted / vivek
1>c is an procedural language and c++ is an object oriented.
2>c uses a TOP DOWN approach and c++ BOTTOM UP.
3>c++ introduces the idea of Data hiding using class..shere
in c there is no such facility for that purpose
4>c++ introduce the concept of the message passing with that
objects can communicate.
5>c++ has the inheritence, using it we can reuse our code.
6>Using polymorphism of c++ we can achieve the overloading
of operator and functions, but it is not possible in c.
there may be more difference on this but these are the main..
| Is This Answer Correct ? | 19 Yes | 0 No |
Post New Answer View All Answers
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Why is abstraction used?
Why multiple inheritance is not allowed?
#include
What is an advantage of polymorphism?
what is the sylabus for priliminaries?
What is the difference between inheritance and polymorphism?
What is cohesion in oop?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is overriding in oops?
Why multiple inheritance is not possible?
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
what type of question are asked in thoughtworks pair programming round ?
What is destructor give example?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }