dataType var
=> Variable Declarationstatic dataType var = value
=> Static variables have a property of preserving their value even after they are out of their scopedataType var = value
=> Variable declared and Initialized, Created in memory StackdataType var(value)
var = value
=> Initialization of valuesconst dataType var = value
=> Needs to be initializedint& j = i
=> Same memory with different name enum Color {
RED,
GREEN,
};
Color selectedColor = GREEN;
auto
=> Automatic Variablesstatic
=> Staticregister
=> Register