Series: Subject: Topic:
Question: 76 of 195

int lion(int x)
// x is positive int
while (x!=10 && x%2==0)
return x;
int tiger (int x)
while (x!=10 && x%2==0);
return x;
for which values of x is it true that lion(x) equals tiger(x)

For all even integers less than 10

This question is related to Wipro Interview
Asked by: Interview Candidate | Asked on: Jul 7th, 2005
Showing Answers 1 - 1 of 1 Answers
jayanth , rajesh

Answered On : Mar 19th, 2006

Ans 2,4,6 only

Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions



twitter fb Linkedin GPlus RSS


Question Categories

C Interview Questions

C++ Interview Questions

Interview Question

 Ask Interview Question?


Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.