The '=' operator works differently when used in an initialization statement, than in a stand-alone assignment statement. This feature was included by the designers of C/C++ to confuse us!
You can't assign an entire array with = :
You can initialize an array with = :Code:char bob[9]; // This line is OK bob = "hello"; // But, this won't work!
Code:char bob[9] = "hello"; // This will workCode:char bob[] = "hello"; // This will work too