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