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
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is polymorphism explain its types?
What does oop mean in snapchat?
What is abstract class in oops?
What is object in oop with example?
write a programe to calculate the simple intrest and compund intrest using by function overlading
Are polymorphisms mutations?
State what is encapsulation and friend function?
what is the drawback of classical methods in oops?
What is oops and its features?
What is encapsulation in ict?
• What are the desirable attributes for memory managment?
What is difference between abstraction and encapsulation?
What is abstraction and encapsulation?
How to use CMutex, CSemaphore in VC++ MFC