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




1) 16


2) 17


3) 16.5

Answer Posted / shailaja

the outcome of this code is 16.5
bcz it will return the absolute value of parameter.

Is This Answer Correct ?    18 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is coupling in oop?

571


What exactly is polymorphism?

581


Can a destructor be called directly?

585


is there any choice in opting subjects like 4 out of 7

1708


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2008






What does and I oop mean in text?

593


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

1629


What is polymorphism and types?

579


What is encapsulation oop?

556


Can static class have constructor?

561


What is purpose of inheritance?

618


What does <> mean pseudocode?

595


what is difference between class template and template class?

2134


Why it is called runtime polymorphism?

559


What is the full form of oops?

589