Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can enum be null?

1073


What is the fundamental idea of oop?

1195


What is encapsulation example?

1129


What is this pointer in oop?

1129


What are main features of oop?

1186


How does polymorphism work?

1192


What is polymorphism programming?

1183


What is the difference between a constructor and a destructor?

1354


What is abstraction encapsulation?

1202


Why do we need polymorphism in c#?

1223


State what is encapsulation and friend function?

1348


What is abstract class in oops?

1080


What are the advantages of polymorphism?

1087


What does it mean when someone says I oop?

1127


Why multiple inheritance is not possible?

1124