What is the difference between declaration and definition?
Answer Posted / amiya
defination=(declration+space reservation)
int a; -------------Declaration
a=20; ------------- Defination
For Function
int amiya(int a,int b); ---------------Declaration
int a=amiya(5,10) ---------------Function call
int amiya(int a,int b) Function Defination Logic is here
{
int c=a+b;
return(c);
}
| Is This Answer Correct ? | 24 Yes | 33 No |
Post New Answer View All Answers
Give two or more real cenario of virtual function and vertual object
What is balance factor?
How oops is better than procedural?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is overriding in oops?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
Why is polymorphism needed?
What is data binding in oops?
Is enum a class?
Can you inherit a private class?
what is difference between class template and template class?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What is encapsulation in ict?
what's the basic's in dot net
What is overloading in oops?