Hello All I have some confusion in Declaration and defination of variables.
Declaration means ===> where the variables are declared and no memory is allocated.
Defination means ===> where the variable is declared and defination is allocated.
For eg. if we write
then it will print some garbage value.
then it will print 10.
It looks like (1) is declaration (BUT IT IS NOT AS MEMORY IS ALLOCATED) of variables and (2) is declaration with defination.
Now where is the declaration in the above case?