Why cant my long int handle the number 2971215073 in C?
So I have the following code:
uint64_t only stores 32 bits
I am working on a C++ program and I notice that
C++ when to use long/int?
I was looking at integer limits in C++ and it looks like both int
and long
have the exact same maximums and minimums (32-bit limit, looks like), even when unsigned.