void main()
{
static int i = 5;
if(--i)
{
main();
printf("%d
",i);
}
}
what would be output of the above program and justify your
answer?
}
Answer Posted / sri ram
This prog'll not produce any output since the value of i
reduces when it reaches zero if block will not be executed
and the program is terminated....
Is This Answer Correct ? | 7 Yes | 16 No |
Post New Answer View All Answers
Can you return null in c?
Write a code to remove duplicates in a string.
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
Why should I use standard library functions instead of writing my own?
What is difference between array and structure in c?
What type is sizeof?
What is an lvalue?
What are shell structures used for?
Does free set pointer to null?
How do you determine whether to use a stream function or a low-level function?
Can static variables be declared in a header file?
Difference between macros and inline functions? Can a function be forced as inline?
Explain the difference between call by value and call by reference in c language?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Explain what is wrong with this program statement?