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

MOV.CB 007H,ADCON1 MOVE.CT 001H,_OPTION_REG_7 MOV.CB 007H,CMCON

0 Answers  


what is mutex?

4 Answers   Axiom, Blue Star, SQL Star,


How can recruiter justified that the candidate is expert in Algorithm and datastructure for Software product development ?

0 Answers  


what is fisrt female program

1 Answers  


What are the other ways to create an object with out calling new keyword in java?

2 Answers   HCL,


what is meaning of MDM in sap?let me know that meaning

0 Answers  


what will we require to build project with the help of oracle

0 Answers  


how can we maintain the previous version scripts to new version.

0 Answers   DST Global Solutions,


sample code for data transfer between two r/2 systems and r/3 systems?

0 Answers  


8.In DSP,Define Signal and System?and various type of signals.

0 Answers  


how does database connection using ADO.NET?

0 Answers  


what is best way to create a Thread class & why?

0 Answers  


Categories