what is the main difference between c and c++?
Answer Posted / pankaj
c++ is considered to be more secured as compared to c bcoz
in c++ the concept of pointers is not provided.pointers can
b used in c++ but they cannot be used directly as in c
language.c++ also does not support operator overloading.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can destructor be overloaded?
What is overloading in oop?
Why do we use inheritance?
Why do we use oops?
what is graphics
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.
Whats oop mean?
Why is polymorphism used?
Explain the advantages of inheritance.
Why do we use encapsulation in oops?
Is react oop?
Why do we use polymorphism?
What is difference between abstraction and encapsulation?
What is ambiguity in inheritance?
What are the important components of cohesion?