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

Answer Posted / abhishek gautam

C is a procedural programming language whereas C++ is an
object oriented programming language

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How long to learn object oriented programming?

829


What are the three main types of variables?

843


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?

1640


Why do we use class?

832


What is the difference between a mixin and inheritance?

763


Can a varargs method be overloaded?

830


What is encapsulation example?

786


What is abstract class in oop?

762


Can you inherit a private class?

858


What is object and class in oops?

801


explain sub-type and sub class? atleast u have differ it into 4 points?

2058


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.

943


Can main method override?

851


What do you mean by variable?

777


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3845