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




1) 16


2) 17


3) 16.5

Answer Posted / neeraj

16

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation in oop?

599


How long to learn object oriented programming?

553


Can static class have constructor?

576


Why do pointers exist?

648


Is react oop?

601






Can an interface inherit a class?

549


Why do we use class?

620


What are the 5 oop principles?

590


What are benefits of oop?

623


What are the data types in oop?

596


Do you know about multiple inheritance?

631


What is overriding in oops?

592


What is overriding vs overloading?

571


Why do we use oops?

583


What is abstraction in oop with example?

635