what is the main difference between c and c++?
Answer Posted / sushma sharma,hapur
These are the main difference of c and c++
*c follows the procedural programming paradigm while c++ is
a multi paradigm language.
*In case of C,the data is not secured while the data is
secured(hidden) in c++.
*C is a low level language while C++is a middle level language.
*C use the top down approach while C++ use the bottom up
approach.
*C is function-driven while is object driven.
*C++ supports functions overloading while C does not.
*we can use function inside structure in C++ but not in C.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is encapsulation in ict?
What is the example of polymorphism?
What is encapsulation selenium?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What is polymorphism programming?
Can static class have constructor?
What is a function in oop?
Why is there no multiple inheritance?
What is an interface in oop?
What is polymorphism explain its types?
Why do we use 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 new keyword in oops?
What is the advantage of oop over procedural language?
What is interface? When and where is it used?