Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 740
Safwan Ull Karim Avatar asked Sep 16 '25 23:09

Safwan Ull Karim


1 Answers

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

like image 96
Adrian Maire Avatar answered Sep 19 '25 09:09

Adrian Maire