adspace


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 &#8722;4 (written |-4|)
is 4. Also called numerical value.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

2278


Please send ford technologies placement paper 2 my mail id

2177