#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
why turbine vacuum breaker open in blackout
how can i install windows-xp operating system in single time to 50 computersconnected in a LAN.
I HAVE GOT 55% IN 12TH CLASS. IS IT GOOD TO DO B.E. CAN I SIT IN THE CAMPUS SELECTION.
WHAT IS DIFFERENCE BETWEEN ART & VECTOR QUANTISATION BASED ON THEIR APPLICATION IN NEURAL NETWORK
What is a computer without a hard disk called as technically ?
What is the instruction to load the register B?
write a c++ program to interchange two-integer number without using the third variable. use concept of constructor overloading.
model question papers of GrayOrange company
what is the class of generator A b & c
Hi i was appered the ISRO written test conducted on 26-Apr- 2009. I want to know the date of results. Please anyone tell me the date
Write a function to print all the combinations of a string both uppercase and lowercase without altering the position of each letter.
what is the differnce between pri and bri
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)