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


9. Read the function conv() given below
conv(int t)
{
int u;
u=5/9 * (t-32);
return(u);
}
What is returned
(a) 15 (b) 0 (c) 16.1 (d) 29

Answers were Sorted based on User's Feedback



9. Read the function conv() given below conv(int t) { int u; u=5/9 * (t-32); return(u); ..

Answer / jagadeesh

0 sinc the t is not initialized.

Is This Answer Correct ?    6 Yes 0 No

9. Read the function conv() given below conv(int t) { int u; u=5/9 * (t-32); return(u); ..

Answer / ankush deshmukh

0 is the answer
The division of 5/9 is 0.5
Then 0.5*(t-32) is -31.5
So roundup of this is 0.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

What are the five tracing levels in System.Diagnostics.TraceSwitcher?

1 Answers  


how do we provide security for web services

0 Answers  


how many keywords are present in "c"?

18 Answers   Assurgent, Cynosure Software, IBM,


write a query that returns one row for each department and the number of employees in that department. Given two tables EMPLOYEE and DEPARTMENT, where there can be multiple employees per department.

0 Answers   IBM,


What is the Difference between in memory database and physical database

0 Answers  


What function would you use to extract characters from a given string?

2 Answers  


how pseudo column works?

0 Answers   Oracle,


difference between list and display command ?

3 Answers  


What is a singleton linked list?

1 Answers   Wipro,


what is the extension of SPDS Dynamic cluster tables?

0 Answers   IBM,


Diffrence between 2.0,3.0,3.5,4.0. versions of .net?

0 Answers  


what are partial classes. Where is the entry point of partial classes.

1 Answers   Satyam,


Categories