Predict the output of below programs. #include <stdio.h> int main() { static…
Predict the output of below programs.
#include <stdio.h>
int main()
{
static int i=5;
if(--i){
main();
printf("%d ",i);
}
}
- A.
5 4 3 2 1
- B.
4 3 2 1
- C.
0 0 0 0
- D.
4
Attempted by 588 students.
Sign up free to check your answer
Sign up freeLoading lesson…

