Question: what is the difference between variable declaration and variable initialization?
Answer: Declaration: Declaration means creating a variable as each variable used in a program must be declared. E.g. int a; ... Initialization: Initialization is declaring a variable and assigning a value at the declaration time called initializing a variable.