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
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 |
What are the main principles of OOP?
what is software
How to call a C++ function which is compiled with C++ compiler in C code?
How to merge Action Form with Dyna Action Form in Struts.
How to swap two String values without using a third variable?
Write 5 differences between Memory Reference Instruction and Register Reference Instruction.
is it acceptable if we declare multiple exceptions in same overridden method.
What are the Short cut Keys of Tally ERP?
Which method protects back button to retrieve old value from previous page in Struts.
About CLR, reflection and assemblies?
A good website has the following conditions It should be interactive. It should contain at least 20 images. Title cannot be null and should contain at least 10 letters other than spaces and hyphen (-). The keywords should contain atleast three among the following list : "design", "Graphics", "lovely", "beautiful", "amazing" and "mesmerising" Write a method: boolean isGoodWebsite(boolean isInteractive, int numOfImages, String title,String keywords[]) isInteractive whether the site is interactive or not numOfImages Number of images on the website title Title of the website keywords Array of keywords in the website.
What do you mean by text editor?