What is the difference between declaration and definition?
Answer Posted / ganesh9948302505
Declaration of a function is COMPILATION PHASE,inorder to
support the SIGNATURE OF FUNCTION like function
name,arguments. Simply it identifies FUNCTION.
Where as in defination, function cotains SET OF
STATEMENTS and expands SOURCE CODE in the form of
instructions
(all this is concept of functions)
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is polymorphism and example?
How does polymorphism work?
What is the difference between inheritance and polymorphism?
write a C++ program for booking using constructor and destructor.
Why do we use polymorphism in oops?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is a function in oop?
What is a class in oop?
What is encapsulation process?
How many human genes are polymorphic?
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Please send ford technologies placement paper 2 my mail id
Can private class be inherited?
What is stream in oop?
Why do we use class?