What is the difference between declaration and definition?
Answer Posted / palsaniya sadikhasan, meta.
Declaration of variable and function means to create memory
for a variable or function.
e.g. int a;
will create a memory 2 byte in main memory.
definition means to assign a value to the particular
variable that are used in function.
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
What is interface? When and where is it used?
What are the 3 pillars of oop?
What are two types of polymorphism?
What is encapsulation process?
What is polymorphism what are the different types of polymorphism?
What is abstraction example?
c++ program to swap the objects of two different classes
Whats oop mean?
What is the fundamental idea of oop?
Where is pseudocode used?
Why do we use polymorphism in oops?
Can we have inheritance without polymorphism?
What is cohesion in oop?
How many human genes are polymorphic?
Templates mean