aboutsummaryrefslogtreecommitdiff
path: root/lol.c
blob: 34b21f9137fbd82800ced1e9568de17c6145b793 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>

int main(int argc, char **argv)
{
	if (argc != 2)
		return 1;
	const char *s = argv[1];
	for (int i = 0; s[i] != '\0'; i++) {
		const unsigned int c = (unsigned char)s[i];
		printf("%d/%#x ", c, c);
	}
	putchar('\n');
	return 0;
}