Computer Science, asked by aksh65, 1 year ago

Difference between variable declaration and variable definition

Answers

Answered by namish5770
0

Answer:

Variable declaration tells the compiler about data type and size of the variable. Whereas, variable definition allocates memory to the variable. Variable can be declared many times in a program. But, definition can happen only one time for a variable in a program.

please mark as a Brainliest...

Similar questions