character, number comparison

int choice;        scanf("%d",&choice);

char choice;     scanf("%c",&choice);

case '1' character

case 1 integer

switch(choice==1)

switch(choice=='1')

 
 


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324550295&siteId=291194637