While vs. For Loops

for(i = 0; i < 10; i++)
	printf("%d\n", i);


i = 0;
while(i < 10)
	{
	printf("%d\n", i);
	i++;
	}