Day 3: Learning Variables in C Programming
An Introduction to Variables in C Programming
variable is a name of memory location where we store program data during execution of program
variable name is any combination of alphabet (a to z or A to Z ) digits (0 to 9) and understanding (-)
No other symbol is allowed
volid variable name cannot start from a digits
variable name cannot be a keyword
C language is a case sensitive language keyword in c
auto 7. double 14.Register
break 8. else 15.return
case 9.Enum 16.short
Int 10.execution 17.signed
char 11.float 18.struct
Const 12.for 19.switch
continue 13.long 20.union
Data Types & Variable Declarations
Data classification:- Different data required different way of handling data in computer
Factor responsable for data classification
Memory size required to share data ]
method to convert data into binary for internal representation
kind of operation performed on data
Data Types
Char (1 bytes)
int (4 bytes)
float (4 bytes)
double (8 bytes)