what is the main difference between c and c++?
Answer Posted / ramya
ABOUT (C)
-> C is a structured programming language.
-> C IS OBJECT based program that means C is also a object based application like structure and unions.
-> C does not support the C++ program.
-> C is a top to bottom programing.
->We can not do programs with the help of class, but programs through structure.
ABOUT(C++)
-> C++ is object oriented language that means entire application will be depending on object only.
-> C++ is the advance version of C.
-> C++ is a bottom to top programing.
->C++ support the C program.
->we can do programming through class in C++.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is polymorphism give a real life example?
What is encapsulation and abstraction? How are they implemented in C++?
How do you answer polymorphism?
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.
how to get the oracle certification? send me the answer
officer say me - i am offered to a smoking , then what can you say
Which is not an object oriented programming language?
Why is abstraction needed?
Why do we use polymorphism?
What is protected in oop?
What are the components of marker interface?
What is encapsulation with real life example?
#include
What is polymorphism and its types?
What is the main purpose of inheritance law?