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
Explain the advantages of inheritance.
What polymorphism means?
Whats is abstraction in oops?
What is static in oop?
What is polymorphism give a real life example?
What are properties in oop?
How long to learn object oriented programming?
What is oops concept with example?
What is an example of genetic polymorphism?
Is oop better than procedural?
What are two types of polymorphism?
What is and I oop mean?
what's the basic's in dot net
What is destructor in oop?
What is the significance of classes in oop?