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

Compare any 4 software development life cycle paradigms with each other. Indicate at least one application for each of the paradigms that are suitable to developed using that paradigm.

0 Answers  


Difference between abstract class and Interfaces in Java

9 Answers   Nest, Persistent, Yantro Software,


qtp 9.2 14 days demo version was expired.I uninstalled how to reinstall this again

0 Answers  


what is the pl/sql block size in oracle 10g and 11g?

0 Answers  


What is a PID? How is it useful when troubleshooting a system?

3 Answers  






what will be the model paper for the post of assistant programmer in delhi high court

2 Answers  


what is web configuration file

0 Answers   HCL,


Which CRM is better to opt, Sebiel CRM or Salesforce CRM or sap CRM? which institute is best one in hyderabad

0 Answers  


Urgent Openings for Java and .NET ( India, Singapore, Australia, Japan)

6 Answers   CTS,


how to check single or double byte in struts

0 Answers  


I am taking the bmc control m/enterprise manager 7.0 scheduling test and just wanted to see what kind of questions they would ask or if anyone has taken the test and how long it is for how many questions?

0 Answers  


when we use mantis? how learn mantis?

0 Answers  


Categories