Question:What is difference between declaration and definition? 

Answer During declaration we just specify the type and no memory is allocated to the variable. But during the definition an initial value is assigned and memory is allocated to the variable. 

+ Report
Total Preview: 908
What is difference between declaration and definition?
Copyright © 2024. Powered by Intellect Software Ltd