What is difference between initialization and assignment?

Answer Posted / sweety

Initialization does the memory allocation, i.e. it assigns
the emory to the variable whereas assignment assigns a
value to the variable.

Is This Answer Correct ?    15 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me what are static member functions?

814


Describe the process of creation and destruction of a derived class object?

871


Differentiate between a template class and class template in c++?

850


Is rust better than c++?

849


When there is a global variable and local variable with the same name, how will you access the global variable?

874


What is virtual table?

825


What does override mean in c++?

784


What is abstraction with real time example?

886


Define basic type of variable used for a different condition in C++?

876


What relational operators if statements in c++?

899


What is virtual base class?

768


Does c++ have foreach?

745


How do you invoke a base member function from a derived class in which you’ve overridden that function?

827


Is c or c++ more useful?

819


What is the importance of mutable keyword?

794