A variable can be initialized as:
type variable_name = value
where type = Data Type
variable_name = name of the variable
value = numeric value
Example: int count =0;
Only global and static local variables have to be initialized at the beginning of the program. Rest other variables needs to be initialized each time they are declared.