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
What is the use of c language in real life?
What are the salient features of c languages?
Explain what is wrong with this program statement? Void = 10;
What is the general form of #line preprocessor?
Do array subscripts always start with zero?
What does typeof return in c?
given post order,in order construct the corresponding binary tree
using for loop sum 2 number of any 4 digit number in c language
What is string constants?
What is the difference between far and near ?
what will be the output for the following main() { printf("hi" "hello"); }
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
Explain how can I read and write comma-delimited text?
What is identifier in c?
write a program for the normal snake games find in most of the mobiles.