GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  TCS  >  C
Go To First  |  Previous Question  |  Next Question 
 C  |  Question 9 of 87    Print  
Read the function conv() given below
conv(int t)
{
int u;
u=5/9 * (t-32);
return(u0;
}
What
a.15
b.0
c.16.1
d.29
A



  
Total Answers and Comments: 3 Last Update: May 13, 2007   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 10, 2006 16:12:57   #1  
laxmikanth        

RE: Read the function conv() given belowconv(int t...

i feel the question itself is wrong.

1)without a parameter value how can we estimate the result.

2)The above function will generate an error because one side of parenthesis is missing for return statement


 
Is this answer useful? Yes | No
March 29, 2007 09:33:25   #2  
kamanjari        

RE: Read the function conv() given belowconv(int t...
without the parameter value t how to calculate the value....the question is wrong i think so
 
Is this answer useful? Yes | No
May 13, 2007 01:55:20   #3  
A.R        

RE: Read the function conv() given belowconv(int t...

The ans would be 0. 5/9 returns 0 becos both 5 & 9 are integers.


 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape