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
Why C language is a procedural language?
Explain heap and queue.
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
What is the c value paradox and how is it explained?
Difference between pass by reference and pass by value?
Explain what are multibyte characters?
Can you write a programmer for FACTORIAL using recursion?
Explain what is the advantage of a random access file?
Why array is used in c?
Why is it important to memset a variable, immediately after allocating memory to it ?
Explain what happens if you free a pointer twice?
Why do we use int main instead of void main in c?
Write program to remove duplicate in an array?
pierrot's divisor program using c or c++ code
Where define directive used?