DEV/DEV1.1/TP08/alpha.c

17 lines
332 B
C
Raw Normal View History

#include <stdio.h>
#include <stdlib.h>
int main(void) {
char min, maj;
char *p = NULL;
for(min = 'a', maj = 'A'; maj <= 'Z'; min++, maj++) {
p = (p == &min) ? &maj : &min;
putchar(*p);
}
putchar('\n');
return EXIT_SUCCESS;
}
9233654589353407584
100000000010010010000111111011010101000100010000101101000110000