What is difference between initialization and assignment?
Answer Posted / sandeep mannarakkal
All object creation involves two steps,
1) Memory allocation
2) Memory initialization , so initialization is a part of object creation itself.
Assignment is the process of assigning values in to already available object.
Hope the concept is clear
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What does I ++ mean in c++?
Can comments be nested?
What is searching? Explain linear and binary search.
What is c++ vb?
What is a character in c++?
Please explain class & object in c++?
By using c++ with an example describe linked list?
What are advantages of using friend classes?
Why do we learn c++?
How do c++ struct differs from the c++ class?
What is a stack? How it can be implemented?
When should we use multiple inheritance?
How will you call C functions from C ++ and vice-versa?
How is new() different from malloc()?
What is an adaptor class in c++?