-3

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

alk
  • 68,300
  • 10
  • 92
  • 234
Kuharan Bhowmik
  • 117
  • 1
  • 12

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
  • 72,338
  • 6
  • 72
  • 157