Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - How to define an integer variable larger than an unsigned long integer variable in C language?
How to define an integer variable larger than an unsigned long integer variable in C language?
The larger data type than unsigned long is unsigned long long, which is generally used to represent 64-bit integer variables, and is generally typedef to __uint64 in vc development environment.

The range of long long type is:-9223372036854775808 ~ 9223372065475807.

If only positive numbers are used, consider using unsigned long long. The range is: 0 ~1844674073709551615.

If you need a larger number, you can consider using an array to store it.

Reference large number operation

/link? URL = k 8 bazo 0 bl V6 yybb 1 zbnfvolrxlixkgg 6 w 7 tsmszm 6 toupgxhadn 6 o 53 yjcgl 0t 69 qufkfzf-RbPFxaGa _ a

Examples of definitions are as follows

//vc for //windows? /vs development environment

__int64? Me? =? 0;

//linux? In the gcc/g++ compilation environment.

Not signed? Dragon? Dragon? Me? =? 0