Answer Posted / hussain
void fun1()
{
static i=0;
if(i<5)
fun2();
}
void fun2()
{
printf("Recursion from fun2 to fun1 which is indirect
recursion\n");
fun1();
}
main()
{
fun1();
}
| Is This Answer Correct ? | 52 Yes | 20 No |
Post New Answer View All Answers
Who is the main contributor in designing the c language after dennis ritchie?
Explain what is the use of a semicolon (;) at the end of every program statement?
What is the purpose of the preprocessor directive error?
difference between object file and executable file
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
What is a stream?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
Explain the use of fflush() function?
what value is returned to operating system after program execution?
Where in memory are my variables stored?
How to write a code for reverse of string without using string functions?
Can you write a programmer for FACTORIAL using recursion?
What is the Purpose of 'extern' keyword in a function declaration?
How do you do dynamic memory allocation in C applications?