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
Which software is best for coding?
Is c++ used anymore?
what you know about c++?
How can a called function determine the number of arguments that have been passed to it?
How do you show the declaration of a virtual constructor?
Which bit wise operator is suitable for turning off a particular bit in a number?
Explain dangling pointer.
Explain deep copy and a shallow copy?
Explain terminate() function?
Are php strings immutable?
How much is c++ certification?
Can a program run without main in c++?
When is the destructor called?
What is the main function c++?
Can we inherit constructor in c++?