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
What is class and object in oops?
Can destructor be overloaded?
What is new keyword in oops?
What is class and object with example?
How Do you Code Composition and Aggregation in C++ ?
What do you mean by variable?
Is html an oop?
What are the three parts of a simple empty class?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
Is data hiding and abstraction same?
Explain the advantages of inheritance.
What are the benefits of polymorphism?
What are classes oop?
What is class in oop with example?
What is the significance of classes in oop?