Skip to content

Instantly share code, notes, and snippets.

@mpenick
Last active January 26, 2017 13:14
Show Gist options
  • Select an option

  • Save mpenick/7878d5d328bbb9aa74a1f7dd125ebe15 to your computer and use it in GitHub Desktop.

Select an option

Save mpenick/7878d5d328bbb9aa74a1f7dd125ebe15 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdint.h>
void print(uint64_t value) {
printf("%llu\n", (unsigned long long)value);
}
int main() {
print(-1);
uint64_t value = -1;
print(value);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment