[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Computer Arithmetic in C/C++



hello ba` con.

in C, gia? su+-? mi`nh co' :

            unsigned long  number;

the amount of storage used to hold UNSIGNED LONG is machine-dependent.

gia? su+-?  UNSIGNED LONG o+-? -da^y -du+-o+-.c allocated
maximun 16 bits.

with 16 bits UNSIGNED nhu+- va^.y   0 <=  number <= 65535

gia? su+-? mi`nh muo^'n assigned 66000 thi` la`m sao ??

trong assembly language -die^`u na`y tu+-o+-ng -do^'i de^+AH4-. Nhu+-ng trong
C/C+-+-
thi` kho^ng -do+-n gia?n.

Danh.