I have a problem while using the printf function to print values of type unsigned long long int
I have no idea what\'s wrong. I\'m using De
ULONG_MAX refers to unsigned long and not to unsigned long long. For the latter, use ULLONG_MAX (note the extra L).
You need to change the printf() calls like so:
printf("unsigned long long int: \n%llu to %llu \n\n", 0ULL, ULLONG_MAX);
printf("unsigned long long int: \n%llu to %llu \n\n", ULLONG_MAX, ULLONG_MAX);
This ensures that the arguments to printf() match the format specifiers.