Code for Program gives maximum and minimum value of datatype in C Programming
#include <stdio.h>
main()
{
int i,j ;
i = 1;
while (i > 0)
{
j = i;
i++;
}
printf ("the maximum value of integer is %d\n",j);
printf ("the value of integer after overflow is %d\n",i);
}