maximum and minimum value of int
#include <stdio.h>
main() {
int i,j ;
i = 1;
while (i > 0) {
j = i;
i++;
}
printf ("Maximum value of integer is %d\n",j);
printf ("The value of integer after overflow is %d\n",i);
}
Related examples in the same category