17 lines
288 B
C
17 lines
288 B
C
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <stdlib.h>
|
|
|
|
char *msg = "hTsim seasegi swspaep.d";
|
|
#define NBYTES 24
|
|
|
|
void main()
|
|
{
|
|
auto char buffer[80];
|
|
|
|
printf( "%s\n", msg );
|
|
memset( buffer, '\0', 80 );
|
|
swab( msg, buffer, NBYTES );
|
|
printf( "%s\n", buffer );
|
|
}
|