What is the outcome of the line of code "cout<<abs(-
16.5);"?
1) 16
2) 17
3) 16.5
Answer Posted / shankar
None of them
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
Why multiple inheritance is not possible?
Give two or more real cenario of virtual function and vertual object
Are polymorphisms mutations?
What is oops in simple words?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Whats oop mean? to find out the minimum of two integer number of two different
classes using friend function What is ambiguity in inheritance? What are main features of oop? What is an advantage of polymorphism? What are the benefits of interface? 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 three main types of variables? Write a program to implement OOPS concepts such as
inheritance, polymorphism, friend function, operator
overloading? Is data hiding and abstraction same?