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
What are the modifiers available in c programming language?
What are multibyte characters?
Can main () be called recursively?
What is a global variable in c?
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.
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
What is a string?
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.
What are the basic data types associated with c?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
Why does the call char scanf work?
Do you know the use of 'auto' keyword?
Is fortran still used today?
Are bit fields portable?
What is a program flowchart and explain how does it help in writing a program?