C System Stackoverflowexception When Using Switch Case In Stack Overflow

C System Stackoverflowexception When Using Switch Case In Stack Overflow