-3

I am having problems in understanding this statement. I don't know why this is not usual like others.

alk
  • 69,737
  • 10
  • 105
  • 255

1 Answers1

5

Assignment means giving a new value to an already existing object. Even though const char INITIAL='G'; has an = sign, it is not an assignment, because it is creating a new object, not modifying an existing one. char INITIAL; INITIAL='G'; would be an assignment, because INITIAL already exists when the new value is, well, assigned.

Pete Becker
  • 74,985
  • 8
  • 76
  • 165