What is the outcome of the line of code "cout<<abs(-
16.5);"?
1) 16
2) 17
3) 16.5
Answer Posted / nathusingh rathod
Right answer for this question is 16. Had there been fabs
then result would have been 16.5 but as there is only abs()
so it will return integer value i.e 16.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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...
What does sksksk mean in text slang?
What does and I oop and sksksk mean?
What is constructor in oop?
what's the basic's in dot net
write a program to find 2^n+1 ?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is destructor give example?
What is object in oop?
write a program that takes input in digits and display the result in words from 1 to 1000
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is the purpose of polymorphism?
What are the data types in oop?
What language is oop?
What is inheritance and how many types of inheritance?