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

< No Frames > tag is used for

0 Answers  


Fortran cannot have value by reference True or False?

2 Answers   Geometric Software,


What is the Super Class of Exception in java?

11 Answers   Andesa Services, Benchmark, CitiGroup, CMC, Evergent, KOT Systems, Value Labs, Vijay infoart Solutions,


what is delegate and delegation model give the real live example on delegate model

0 Answers   TCS,


3.Give the formula for determine the range of the data type?

1 Answers  






what does mean and stack mean in genral programming?

0 Answers  


Wats the name of the first os

2 Answers  


1.how to deploy the Maven application in weblogic server? 2.In Real time projects all classes are singleton or some classes only singleton explain? 3.what are the major uses of the designpatterns? 4.explain restful &Soap based services explain?

0 Answers   Accenture,


What are two of your strengths that you will bring to our QA/testing team?

0 Answers  


What is dialog programming?

0 Answers  


Define distributed queries. can you explain me as soon as possible

0 Answers   HCL,


What is meant by QUEUE?

4 Answers   Mascot,


Categories