explain declaration and initialisation of variable
Answers
Answered by
1
Answer:
For a variable, a definition is a declaration which allocates storage for that variable. Initialization is the specification of the initial value to be stored in an object, which is not necessarily the same as the first time you explicitly assign a value to it.
Similar questions
English,
8 months ago
Social Sciences,
8 months ago
Biology,
8 months ago
Physics,
1 year ago
Chemistry,
1 year ago