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

Explain how to initialize a const member data.

598


What is a c++ class?

621


Write about the use of the virtual destructor?

609


What is c++ course?

580


What is std :: endl?

596






What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00

639


What are multiple inheritances (virtual inheritance)?

585


What does obj stand for?

633


Are there interfaces in c++?

558


What are the advantages of c++? Explain

598


Do you know about C++ 11 standard?

634


How delete [] is different from delete?

598


Why do we use using namespace std in c++?

602


What is the rule of three?

574


What is else syntax in c++?

642