What is the outcome of the line of code "cout<<abs(-
16.5);"?
1) 16
2) 17
3) 16.5
Answer Posted / ankit
I ran it on my PC and got the result as 16
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Which type does string inherit from?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
How do you use inheritance in unity?
Why oops is important?
Can we create object of interface?
What is encapsulation with example?
Prepare me a program for the animation of train
What is class and object with example?
What is methods in oop?
What is constructor in oop?
Why is oop useful?
what is graphics
What are functions in oop?
How is polymorphism achieved?
What is the point of oop?