Array type char[] is not assignable

You can’t assign to an array, only copy to it.

Use strcpy instead, like

strcpy(word, "Jump");

Leave a Comment