/* This Program transfers integer types to char by adding 48 which is the value of 0 in ascii table Written by Sadi Evren SEKER */ #include main() { /* -----Declerations----- */ int i; char c; char *j; /* -----Body of program ------*/ i=50; printf("%c",i); c=i; /* it is simple as this only one equal sign */ printf("%c\n",c); for(i=0;i<10;i++) { j[i]=48+i; /* if you want you can use strings */ } printf("%s\n",j); }