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
What is polymorphism explain its types?
write string class as your own class in java without using any built-in function
What is the purpose of polymorphism?
Why is polymorphism important in oop?
What are the three main types of variables?
Can an interface inherit a class?
what are the realtime excercises in C++?
Why interface is used?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What does sksksk mean in text slang?
What is polymorphism and why is it important?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
What are the advantages of polymorphism?
Who invented oop?
What does and I oop mean in text?