What is the difference between declaration and definition?

Answer Posted / sachin bhosale

Declaration Mean You just Declare a variable and Function
their is No Allocation of Memory.But In Defination Actual
use of use declare Variable and Function Assing the value
with accupy Memory as Per their Type.

Is This Answer Correct ?    12 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the concepts involved in Object Oriented programming.

643


What are the three main types of variables?

602


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2110


Can enum be null?

588


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4248






What is polymorphism and example?

594


what are the different types of qualifier in java?

1846


What is coupling in oops?

600


What is byval and byref? What are differences between them?

1691


What is the difference between a mixin and inheritance?

524


What are two types of polymorphism?

614


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1659


Why multiple inheritance is not possible?

603


Whats is abstraction in oops?

593


What is the real life example of polymorphism?

609