Intel Corporation interview question

Which statement is used to replace multiple if-else statements in code?

Interview Answer

Anonymous

1 Mar 2022

the switch-case statement is used to replace multiple if-else statements.