What is the outcome of the line of code "cout<<abs(-
16.5);"?
1) 16
2) 17
3) 16.5
Answer Posted / naga
Ans: 16.5
The numerical value of a real number without regard to its
sign. For example, the absolute value of −4 (written |-4|)
is 4. Also called numerical value.
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
c++ program to swap the objects of two different classes
Is abstract thinking intelligence?
What exactly is polymorphism?
Can a varargs method be overloaded?
How to hide the base class functionality in Inheritance?
Why is polymorphism needed?
What is the fundamental idea of oop?
What are the 4 main oop principles?
Why polymorphism is used in oops?
What is the difference between a mixin and inheritance?
how to get the oracle certification? send me the answer
What is constructor in oop?
What do you mean by Encapsulation?
Why is static class not inherited?
Can you inherit a private class?