Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

fun(int x)
{
if(x > 0)
fun(x/2);
printf("%d", x);
}

above function is called as:
fun(10);

what will it print?



}

Answer Posted / vinay

10,5,2,1

after that it terminated.

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of static variable in c?

1102


What is use of bit field?

1312


Is there a way to jump out of a function or functions?

1120


Explain function?

1103


What is ## preprocessor operator in c?

1103


How can I change their mode to binary?

1141


How is a pointer variable declared?

1111


What is C language ?

1977


What is the use of parallelize in spark?

1038


Why isn't any of this standardized in c? Any real program has to do some of these things.

1228


What is difference between stdio h and conio h?

1396


Explain what are run-time errors?

1102


Write a program to find the biggest number of three numbers in c?

1060


What is the sizeof () a pointer?

1010


What are header files why are they important?

1104