What is the outcome of the line of code "cout<<abs(-
16.5);"?
1) 16
2) 17
3) 16.5
Answer Posted / rajavel
16.5
this is abs value
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
Why oops is important?
Can we create object of abstract class?
Why do we use polymorphism?
what is difference between class template and template class?
#include
Why do we use encapsulation in oops?
What is meant by oops concept?
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 a null tree?
What is abstraction in oops?
What are the types of abstraction?
write a C++ program for booking using constructor and destructor.
What are the 4 main oop principles?
What is pointer in oop?
What is solid in oops?