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


Please Help Members By Posting Answers For Below Questions

Can destructor be overloaded?

585


What are the three main types of variables?

593


Why do we use oops?

583


What is encapsulation in ict?

591


Get me an image implementation program.

1550






Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3803


How do you answer polymorphism?

569


Why is there no multiple inheritance?

558


What is the difference between encapsulation and polymorphism?

580


What is a null tree?

615


What is encapsulation in oops?

526


What is inheritance in oop?

591


What is solid in oops?

592


Whats is abstraction in oops?

581


What are the 4 pillars of oop?

659