/*
This programs shows how overflow works.
To make it stop, press Ctrl+C.
*/

#include <stdio.h>


int main(void){

	//declare a variable, x	
	int x =0;

	//keep doing this over and over again
	while (1){
		//add 50,000 to x
		x = x + 100000;
		//print out x's value
		printf("%d\n",x);
	}	

	return 0;
}
