What is the outcome of the line of code "cout<<abs(-
16.5);"?
1) 16
2) 17
3) 16.5
Answer Posted / prabakaran
1)16
because abs() is used to calculate the absalute value of
integer only,so it convert the floating point value -16.5
into -16,and
calculate tha abs() value
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
to find out the minimum of two integer number of two different classes using friend function
What is encapsulation with example?
Why interface is used?
What type of loop is a for loop?
Can bst contain duplicates?
Why do we need oop?
What is encapsulation in oop?
What is encapsulation process?
How long to learn object oriented programming?
Why is static class not inherited?
What is abstract class in oops?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is encapsulation in oops?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.