Code Snippets C

#include
main() {
int x,j ;
x = 1;
while (x > 0) {
j = x;
x++;
}
printf ("Maximum value of integer is %d\n",j);
printf ("The value of integer after overflow is %d\n",x);
}