Chapter - 7: Data Types Revisited

What will be the output of the following program:


A
Sections
1
Exercises

A

B

C

1

2

3

4

5

6

7

8

#include<stdio.h>
int main()
{
	int i;
	for (i = 0; i <= 50000; i++)
		printf("\n%d", i);
	return 0;
}

Output: 

1
2
3
4
.
.
.
50000


© 2020 Garbage Valuegarbage value logo