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
How can you overcome the diamond problem in inheritance?
Can you inherit a private class?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
Which is better struts or spring?
What are classes oop?
What is a function in oop?
What does enum stand for?
Is enum a class?
How do you achieve runtime polymorphism?
Is data hiding and abstraction same?
Why oops is important?
Why do we use oop?
Can main method override?
What is encapsulation in oops?