char compilation error

char es[13];
es[]=“test”;

Dynamic C doesn’t support initialization, so i tried to append the word “test” into a char, but compilation error.

Any help on this? I followed the above format from a forum… :rolleyes:

Hello ,

Do like this it will work.
char es[13]=“test”;