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

7.x=10; y=20; x<<2=? x<<1=? y>>2=?

1 Answers  


To sorting array of 10 elements which sorting is best a)selection b)bubble c)tree sort

2 Answers   HP, Hughes,


what is dynamic polymorphism?

2 Answers   Satyam,


I want Ada programming language books. Could anyone post me any link for that?

0 Answers  


How to create a new dataset only duplicate observations in proc sort procedure?

0 Answers   Accenture,






we can use parameters in cl and rpg pgms...etc.in particular i think when we use data area or datastructure or data queue .i think this means which one====in my question...parameters cannot be passed in which one????hope understand my qstn???

0 Answers   CTS,


What is ur porject Architecture? If anyone ask what i have to specify here..

0 Answers  


what is the difference between an application and service??? i mean service which runs as in services.msc.

2 Answers  


Crystal report proffessional 9 to filter the issue date!!

1 Answers  


which property is used to display the advertisements with adrotator control

0 Answers   Sonata,


Suppose server object is not loaded into the memory, and the client request for it , what will happen?

0 Answers  


I want to insert date in the form of yyyy-mm-dd... if any changes happen while inserting date format want to show error meg...any one can solve this..??

0 Answers  


Categories