C Program Using Switch Instruction Incorrect Working Stack Overflow

C Program Using Switch Instruction Incorrect Working Stack Overflow