Ad

Chapter - 7: Data Types Revisited

What will be the output of the following program:


Ad
A
Sections
5
Exercises
#include<stdio.h>
int main()
{
	static int count = 5;
	printf("\ncount = %d", count--);
	if (count != 0)
		main();
	return 0;
}

Output: 

5
4
3
2
1

Ad

© 2024 Garbage Valuegarbage value logo