#include<stdio.h>
int fn(int v);
main()
{
printf("%d\n",fn(7));
}
int fn(int v)
{
if(v==1 || v==0)
return 1;
if(v%2==0)
return fn(v/2)+2;
else
return fn(v-1)+3;
}
No Answer is Posted For this Question
Be the First to Post Answer
what is total power generation capacity in india at present (as on 12-12-2011)
Explain a situation in which you handled a customer?s questions or problems?
funtionalities of loadining and linking
how the aeroplane protected from the lightening?
why only j2me is used for mobile???
1) What are minimum configuration and install windows xp 2) windows xp support which file system explain
HELLO ALL OF U.I HAVE QUALIFIED IN SBI CLERICAL WRITTEN EXAMINATION AND MY INTERVIEW IS ON 20TH OF THIS MONTH.IAM SOTWARE BACKGROUNDED CANIDIATE SO CAN ANY ANYBODY WHOSE INTERVIEW IS OVER CAN TELL ME THAT WHAT QUESTIONS THEY ASKED RELATING TO COMPUTER SCIENCE.
how to find out the name of the users who are currently working starting with the same characters in unix os
differance between radix sort and radix exchange sort
why dijkstra algorithm not used for negative weighted edges graph??
Is printf(?%d?,p); valid?
Friends Any one tell me the best institute for the telecom protocol course
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)