How many bytes is unsigned long long?
Is it the same as unsigned long long int ?
Use the operator sizeof, it will give you the size of a type expressed in byte. One byte is eight bits. See the following program:
#include
int main(int,char**)
{
std::cout << "unsigned long long " << sizeof(unsigned long long) << "\n";
std::cout << "unsigned long long int " << sizeof(unsigned long long int) << "\n";
return 0;
}