What EXACTLY is the difference between INITIALIZATION and ASSIGNMENT ?
PS : If possible please give examples in C and C++ , specifically .
Actually , I was
Initialisation: giving an object an initial value:
int a(0); int b = 2; int c = a; int d(c); std::vector e;
Assignment: assigning a new value to an object:
a = b; b = 5; c = a; d = 2;