What is the difference between declaration and definition?

Answer Posted / omkar

Declaration means just telling to complier about variable
or function but definition means actually allocating memory
for variable.

Is This Answer Correct ?    28 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which method cannot be overridden?

572


What is static modifier?

626


What is balance factor?

576


How can you overcome the diamond problem in inheritance?

761


Are polymorphisms mutations?

691






Why do we use inheritance?

625


What is overriding vs overloading?

579


Why do we need oop?

656


any one please tell me the purpose of operator overloading

1959


write string class as your own class in java without using any built-in function

1968


How do you define social class?

594


hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.

1533


Can static class have constructor?

580


How do you achieve runtime polymorphism?

565


Which language is not a true object oriented programming language?

634