What is the difference between declaration and definition?
Answer Posted / sanjay
The definition is the one that actually allocates space,
and provides an initialization value, if any.
There can be many declarations, but there must be exactly
one definition. A definition tells the compiler to set
aside storage for the variable. A declaration makes the
variable known to parts of the program that may wish to use
it. A variable might be defined and declared in the same
statement
| Is This Answer Correct ? | 57 Yes | 5 No |
Post New Answer View All Answers
2. Give the different notations for the class.\
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.
What does oop mean in snapchat?
Why is encapsulation used?
to find out the minimum of two integer number of two different classes using friend function
What is pure oop?
What do you mean by overloading?
What is the types of inheritance?
Can abstract class have normal methods?
How to hide the base class functionality in Inheritance?
Which language is pure oop?
What does I oop mean?
What is the problem with multiple inheritance?
How Do you Code Composition and Aggregation in C++ ?
What is oops and why we use oops?