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

5

Is This Answer Correct ?    1 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the modifiers available in c programming language?

745


What are multibyte characters?

653


Can main () be called recursively?

637


What is a global variable in c?

598


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

2230






application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above

612


What is a string?

672


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1484


What are the basic data types associated with c?

822


typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

720


Why does the call char scanf work?

624


Do you know the use of 'auto' keyword?

666


Is fortran still used today?

611


Are bit fields portable?

681


What is a program flowchart and explain how does it help in writing a program?

684