- We will only use
signed integer data types in
the course.
- Signed integers
use the
2's complement code to
represent their values
byte data type: uses an 8 bits 2s complement code
short data type: uses an 16 bits 2s complement code
int data type: uses an 32 bits 2s complement code
|
|
- We will not use
floating point data type nor
floating point operations in
CS255
- We will not use
string data type nor
string operations in
CS255
|