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

What are the advantages of using a pointer?

847


How can we access protected and private members of a class?

873


Describe the advantage of an external iterator.

835


Write a Program to find the largest of 4 no using macros.

852


How would you call C functions from C++ and vice versa?

851


How do you add an element to a set in c++?

777


What do you mean by stack unwinding in c++?

980


What is the extraction operator and what does it do?

850


Will the following program execute?

815


What are c++ storage classes?

830


What is an overflow error?

873


How does c++ sort work?

778


What is static class data?

810


What are the extraction and insertion operators in c++? Explain with examples.

936


What is vectorial capacity?

964