-
-
Save uvlad7/2f9dc69d05ea7337c1229520dbe43e9f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
long long x = 1, l[2]; | |
if (*(char *) &x) // Little-endian | |
l[0] = 7299807751963697480LL, l[1] = 9414436869185655LL; | |
else | |
l[0] = 5215573471842553445LL, l[1] = 8583959181729603840LL; | |
printf("%s\n", (char *) l); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment