c-basic/ascii.c

9 lines
137 B
C
Raw Normal View History

2022-11-24 21:04:54 +01:00
#include <stdio.h>
int main(){
for(int i=0; i<256; i++){
printf("(dec)%d\t(hex)0x%02x\t(char)%c\t\n",i,i,i);
}
return 0;
}