What is the outcome of the line of code "cout<<abs(-
16.5);"?




1) 16


2) 17


3) 16.5

Answer Posted / ankit

I ran it on my PC and got the result as 16

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is oop useful?

588


What is an example of genetic polymorphism?

643


What is encapsulation process?

569


Which language is not a true object oriented programming language?

625


• What are the desirable attributes for memory managment?

1713






What is the difference between abstraction and polymorphism?

600


Why do we use oops?

581


What is encapsulation with example?

568


What is difference between polymorphism and inheritance?

604


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1642


Why is oop better than procedural?

595


officer say me - i am offered to a smoking , then what can you say

1566


What is the real time example of encapsulation?

580


Why do we use encapsulation in oops?

508


Do you know about multiple inheritance?

629