Skip to content

Instantly share code, notes, and snippets.

@pjambet
Created Apr 13, 2021
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