what is the main difference between c and c++?
Answer Posted / rajeev kumar
Actually c is a procedural programming language which
cann't face the real world problem. It has some drawback
like a global data is shared by all function and if in a
large program it is find out difficult that which function
uses which data.
On the other hand c++ is an object oriented programming
language which eliminate some pitfall of conventional or
procedural programming language. It is a concept or
approach for designing a new software. It is nothing to do
with any programming language although a programming
language which support the oops concept to make it easier
to implement.
This is the main different between c and c++.
Is This Answer Correct ? | 3762 Yes | 477 No |
Post New Answer View All Answers
What is the point of oop?
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.
i got a backdoor offer in process global,Bangalore..Can i work with it?
is there any choice in opting subjects like 4 out of 7
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 is interface in oop?
What is class and example?
What is static modifier?
Why is destructor used?
What is abstraction in oops with example?
What is an interface in oop?
Is data hiding and abstraction same?
What does I oop mean?
What are the benefits of interface?
What is inheritance and how many types of inheritance?