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

Refer to a name of class or function that is defined within a namespace?

601


What are the three forms of cin.get() and what are their differences?

626


When one must use recursion function? Mention what happens when recursion functions are declared inline?

644


What is a responder chain?

570


Explain differences between new() and delete()?

616






Why do we use setw in c++?

639


Give 10 points of differences between C & C++.

619


what are the iterator and generic algorithms.

1479


How much is c++ certification?

583


What is the difference between a declaration and a definition?

579


Is c++ an integer?

577


What is name hiding in c++?

609


What is const pointer and const reference?

590


Can comments be nested?

624


What does flush do?

557