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
How do I run a program in notepad ++?
How a modifier is similar to mutator?
What is insertion sorting?
What are activex and ole?
How does atoi function work?
What is private public protected in c++?
Explain deep copy and a shallow copy?
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
What is the c++ programming language used for?
Define virtual constructor.
What is the this pointer?
Which is the best c++ software?
Write about the use of the virtual destructor?
Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?
Can I learn c++ without c?