













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














int float^ |^
| +------+|^?
amount +------+ memory
grand_total +------+|^?
tax +------+|^
#include <stdio.h>main(){int amount,
grand_total; float tax;... }
#include <stdio.h>main(){ declarationsstatementsreturn 0;}
^
literal)
char^
typically 8 bits ^ short
typically 16 bits ^ int^
typically 32 or 64 bits ^ long
typically 32 or 64 bits ^ long long
typically 64 bits ^ All are signed by default, but can be made unsigned^ ^
unsigned int
(typically, 0 to 4,294,967,295)
^ Literals^ ^
Decimal (255), Hex (0x255), signed (-255) Character (‘a’, ‘\n’)