Created
November 10, 2016 20:50
-
-
Save jrelo/b54d85a92142258e301fd0dda1fdf9c3 to your computer and use it in GitHub Desktop.
unsigned long long int
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> | |
#include <limits.h> | |
int main() { | |
unsigned long long ulli; | |
printf("%d", sizeof(ulli)); | |
printf("%llu\n", ULLONG_MAX); | |
printf("%llu ... or \n", ~(unsigned long long)0); | |
printf("%llu\n", (unsigned long long)0 - 1); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment