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
Are enumerations really portable?
program to convert a integer to string in c language'
What is the difference between typedef and #define?
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
What is file in c preprocessor?
What is the difference between struct and typedef struct in c?
Linked lists -- can you tell me how to check whether a linked list is circular?
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
Give differences between - new and malloc() , delete and free() ?
What is the auto keyword good for?
Is it better to use a macro or a function?
Explain what is the stack?
Are c and c++ the same?
What is the purpose of main( ) in c language?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?