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 / 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


Please Help Members By Posting Answers For Below Questions

How can you overcome the diamond problem in inheritance?

1184


Can you inherit a private class?

1105


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2320


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).

2119


Which is better struts or spring?

1060


What are classes oop?

1036


What is a function in oop?

1087


What does enum stand for?

1126


Is enum a class?

1068


How do you achieve runtime polymorphism?

1052


Is data hiding and abstraction same?

1049


Why oops is important?

1127


Why do we use oop?

1108


Can main method override?

1113


What is encapsulation in oops?

1016