What is the difference between declaration and definition?
Answer Posted / alok
defination=(declration+space reservation)
int a; -------------Declaration
a=20; ------------- Defination
For Function
int alok(int a,int b); ---------------Declaration
int a=alok(5,10) ---------------Function call
int alok(int a,int b) Function Defination Logic is here
{
int c=a+b;
return(c);
}
// Alok contact number 9993032168,9650549204
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is react oop?
What is encapsulation and abstraction? How are they implemented in C++?
why reinterpret cast is considered dangerous?
Can a varargs method be overloaded?
Can you explain polymorphism?
What is and I oop mean?
Where You Can Use Interface in your Project
What is difference between oop and pop?
What is abstract class in oops?
What are the 4 pillars of oop?
any one please tell me the purpose of operator overloading
Why is static class not inherited?
What is the main purpose of inheritance law?
How long to learn object oriented programming?
Can bst contain duplicates?