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
Explain class invariant.
How many types of comments are there in c++?
Can you pass an array to a function in c++?
Is c++ primer good for beginners?
what are Operators and explain with an example?
What is difference between c++ and c ++ 14?
What is runtime polymorphism in c++?
Can I learn c++ without c?
Write a Program to find the largest of 4 no using macros.
What sorting algorithm does c++ use?
Is java based off c++?
What is pointer to member?
What are c++ storage classes?
what Is DCS ? what i will get benefit when i did?
What is a stack c++?