Difference between defining and declaring a variable in c
Answers
Answered by
0
Declaration of variable mean to tell compiler their is a var\funct\struct of particular data type. Definition ofvariable mean asking compiler to allocate memory to variable or definestorage for that variable. you candefine a variable only one time but you can declare it as many time you want
Similar questions
Math,
7 months ago
English,
7 months ago
Social Sciences,
7 months ago
Science,
1 year ago
Accountancy,
1 year ago
Social Sciences,
1 year ago