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
Differentiate between ordinary variable and pointer in c.
what do the 'c' and 'v' in argc and argv stand for?
What is 1f in c?
What does the function toupper() do?
What are different types of variables in c?
Which is better oop or procedural?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
What is s or c?
What is array of pointers to string?
Which is better malloc or calloc?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
When can a far pointer be used?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
What are the types of type qualifiers in c?
Is main is user defined function?