how does a main() in C++ is different from main() in C?
Answer Posted / bhanu
in c main() is a function, in c++ main() a class
| Is This Answer Correct ? | 8 Yes | 24 No |
Post New Answer View All Answers
any one please tell me the purpose of operator overloading
What is polymorphism what are the different types of polymorphism?
How do you define a class in oop?
when to use 'mutable' keyword and when to use 'const cast' in c++
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 are the components of marker interface?
What is pure oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Can static class have constructor? What is this pointer in oop? Why is there no multiple inheritance? What is the difference between procedural programming and oops? What is the real time example of inheritance? Why do we use encapsulation in oops? What does it mean when someone says I oop?