— That character is stored in the SorI variable, which is passed in a switch
— Pass out of the two values in this enum
typedef enum{aSTRING,INTEGAR}StringorInt;
— My question is just about the default case in the switch statement
—
do{
scanf("%c", &SorI);
switch(SorI){
case 'S':
return aSTRING;
case 'I':
return INTEGAR;
} while(true);
Message permanent page
— I want to sort struct by the alphabet, but I made a mistake somewhere and I don`t know where
— This is a file frome where I read a data
— Please, use pastebin, compiler explorer or something else, that's too much code for a snippet