Home / Questions / What is the difference between variable declaration and variable definition? ( in a line)
Explanatory Question

What is the difference between variable declaration and variable definition? ( in a line)

👁 1,877 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Declaration associates type to the variable whereas definition gives the value to the variable.