Week 6
Week 6
Program
Development in C
Part II
Lecture#6
product = 3 ;
whil e ( product <= 100 ) {
product = 3 * product;
} / / end while
-2,147,483,648 to 2,147,483,647
unsigned int 2 or 4bytes 0 to 65,535or
0 to 4,294,967,295
short 2 bytes -32,768 to 32,767
unsigned short 2 bytes 0 to 65,535
long 4 bytes -2,147,483,648 to 2,147,483,647