📅  最后修改于: 2022-03-11 14:44:46.075000             🧑  作者: Mango
//check location of return statement
//Add return statement after void
case '2':
void displayInfo();
return displayInfo();
break;
//Not after switch closes, as then it will return nevertheless