代码:
char menu_list[] = {'Boiled egg', 'Corn flakes', 'Gobi 65', 'Chicken 65', 'Basandi'};
我是 C 编程的新手,我只想制作一个字符串数组,但我得到了如下警告。谁能告诉我为什么会这样。它的交流程序。
main_menu.c:226: warning: large integer implicitly truncated to unsigned type
main_menu.c:226:36: warning: character constant too long for its type