Safwan Ull Karim
Safwan Ull Karim

Reputation: 662

unsigned long long VS unsigned long long int

I want to know the main difference with unsigned long long and unsigned long long int. Can they be used inter-changeably.

For calculations involving huge decimal numbers like 9223372036854775807, which one is preferred? Thanks.

Upvotes: 4

Views: 6952

Answers (1)

Adrian Maire
Adrian Maire

Reputation: 14865

Both of following types are semantically equivalent: minimum 64bit integer without sign and with equal or bigger size than unsigned long int

unsigned long long

unsigned long long int

Upvotes: 3

Related Questions