Skip to content

Instantly share code, notes, and snippets.

@afeinberg
Created December 5, 2011 20:02
Show Gist options
  • Save afeinberg/1435118 to your computer and use it in GitHub Desktop.
Save afeinberg/1435118 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(void)
{
int i, j, l[4]= {0x48617070, 0x79204269, 0x72746864, 0x61792021};
for (i=0; i<4; i++)
for (j=3; j>=0; j--)
printf("%c", (l[i]>>(j*8))&0xff);
return printf("\n");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment