Learning by doing: Reading books and trying to understand the (code) examples
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
242 B

  1. #include <stdio.h>
  2. int main(void) {
  3. unsigned char abc [26];
  4. for (size_t i = 'a'; i <= 'z'; i++) {
  5. abc[i - 'a'] = i;
  6. }
  7. for (size_t i = 0; i < sizeof(abc); i++) {
  8. printf("%c", abc[i]);
  9. }
  10. printf("\n");
  11. return 0;
  12. }