Mega Code Archive

 
Categories / C / Data Type
 

Maximum and minimum value of char

#include <stdio.h> main() {     char i,j ;     i = 1;          while (i > 0) {         j = i;          i++;       }     printf ("Maximum value of char is %d\n",j);     printf ("The value of char after overflow is %d\n",i); }