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 / sunil v r

5,2,1

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are enumerations really portable?

1025


program to convert a integer to string in c language'

2455


What is the difference between typedef and #define?

1061


Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250

1964


What is file in c preprocessor?

1146


What is the difference between struct and typedef struct in c?

1128


Linked lists -- can you tell me how to check whether a linked list is circular?

1084


5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.

2109


Give differences between - new and malloc() , delete and free() ?

1097


What is the auto keyword good for?

1148


Is it better to use a macro or a function?

1158


Explain what is the stack?

1099


Are c and c++ the same?

1055


What is the purpose of main( ) in c language?

1138


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

2381