Expression must be a modifiable L-value

I have here char text[60];

Then I do in an if:

if(number == 2)
  text = "awesome";
else
  text = "you fail";

and it always said expression must be a modifiable L-value.

28
задан emlai 15 February 2016 в 20:16
поделиться