Skip to content

Instantly share code, notes, and snippets.

@pjambet
Created April 13, 2021 16:05
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
#include <stdio.h>
#include <stdint.h>
int main() {
long long l = -2;
printf("%lld\n", l);
printf("%llu\n", (unsigned long long) l);
printf("%llu\n", (uint64_t) l);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment