Difference Between Initialization and Assignment in C++

Initialization happens when a variable is given a value at the moment it is created. Assignment obliterates the variable's current value and replace the value with a new one.

posted on 2014-07-18 15:56  Ryan-Xing  阅读(140)  评论(0编辑  收藏  举报