what is the main difference between c and c++?
Answer Posted / shailesh bahuguna(kec)
basically c does not support the object oriented features
that means we cannot relate the real world entities together
which can be expressed through C++ which is the extention of
c with OOPs concepts
there are many syntactic differences as well in c and c++.
C++ can be viewed as the revolution in the field of object
oriented programming paridigm.
Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
What is encapsulation process?
What is the main feature of oop?
Is abstract thinking intelligence?
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).
what type of question are asked in thoughtworks pair programming round ?
What is difference between polymorphism and inheritance?
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
What is persistence in oop?
What does no cap mean?
Why do we use encapsulation in oops?
What is the example of polymorphism?
What does I oop mean?
What is overriding vs overloading?
What are the 3 principles of oop?
What is oops and its features?