I have made a 2d array of char so simulate an Inventory

char inventory[5][10]; //5 slots with a string of 10 chars each

//I can even initialize this is 5 different items IE {"shirt", "pants",etc}

The problem I have is I can't edit any individual part.

inventory[1] = "shoe"// this doesn't work.

Anyone have a suggestion?