Character constant too long for its type

You should use double quotes for string lliteral, and you are wrongly declaring the array.

Perhaps you are looking for thiss.

char *menu_list[] = {"Boiled egg", "Corn flakes", "Gobi 65", "Chicken 65", "Basandi"};

Leave a Comment