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 / guest

0 1 2 5 10

Is This Answer Correct ?    23 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to show the change in position of a cursor using c

1061


What is the significance of scope resolution operator?

1410


Where can I get an ansi-compatible lint?

1147


What is optimization in c?

1001


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

2353


about c language

2011


With the help of using classes, write a program to add two numbers.

1039


Difference between Function to pointer and pointer to function

1070


How can I change the size of the dynamically allocated array?

1150


What is #include cctype?

1117


How does pointer work in c?

1124


If fflush wont work, what can I use to flush input?

1104


Is there anything like an ifdef for typedefs?

1149


What is typedef struct in c?

1046


can we implement multi-threads in c.

1129