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

What is function definition in c?

1077


What does char * * argv mean in c?

1070


What are the different types of control structures in programming?

1136


why we wont use '&' sing in aceesing the string using scanf

2372


Why #include is used in c language?

1054


Explain what is the difference between null and nul?

1159


What is void c?

1094


Why static variable is used in c?

1037


Explain how can I remove the trailing spaces from a string?

1050


write a program to rearrange the array such way that all even elements should come first and next come odd

2280


What is 'bus error'?

1155


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

1003


When is a “switch” statement preferable over an “if” statement?

1151


If the size of int data type is two bytes, what is the range of signed int data type?

1026


Why void main is used in c?

1051