What is difference between initialization and assignment?

Answer Posted / shweta iyer

In initialization, we provide the variable with some initial values which can be changed later. But in assignment, we provide the variable with a fixed value which remains same throughout the whole program.

Is This Answer Correct ?    8 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to declare an array of pointers to integer?

588


What is data abstraction? How is it different from data encapsulation?

539


Why c++ is not a pure oop language?

559


How a pointer differs from a reference?

696


Is java easier than c++?

593






Why are pointers used?

582


How do I use turbo c++?

552


If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?

551


Will c++ be replaced?

555


Is there a sort function in c++?

552


What's the hardest coding language?

576


What is private public protected in c++?

555


Define what is constructor?

590


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

608


What do you mean by a template?

625