What is difference between initialization and assignment?

Answer Posted / janet

Assignment can be done as many times as desired where as
initialization can be done only once.

Is This Answer Correct ?    166 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is protected inheritance?

819


What is double in c++?

831


What are the basics of local (auto) objects?

854


What is a multiset c++?

794


Write a C++ Program to check whether a number is prime number or not?

871


Is there finally in c++?

837


How do I make turbo c++ full screen?

808


Where the memory to the static variables is allocated?

800


What is main function in c++ with example?

855


Is map ordered c++?

845


what is a reference variable in C++?

919


Explain the concept of memory leak?

874


Write about the stack unwinding?

855


Why do we use constructor?

832


If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?

926