14 lines
236 B
C
14 lines
236 B
C
|
#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 0;
|
||
|
}
|