What is the difference between declaration and definition?
Answer Posted / roshan
During declaration we just specify the type and no memory
is allocated to the variable. But during the definition an
initial value is assigned and memory is allocated to the
variable.
| Is This Answer Correct ? | 186 Yes | 33 No |
Post New Answer View All Answers
What does <> mean pseudocode?
Why is oop better than procedural?
What is constructor in oop?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is encapsulation with example?
What is inheritance in oop?
write string class as your own class in java without using any built-in function
What do you mean by abstraction?
What are properties in oop?
when to use 'mutable' keyword and when to use 'const cast' in c++
Who invented oop?
What is overriding in oops?
What is encapsulation in oops?
officer say me - i am offered to a smoking , then what can you say
What is multilevel inheritance?