saving . . . saved nested if else has been deleted. nested if else has been hidden .
nested if else
Title
Question
COMPARE TO SWITCH AND IF ELSE, which statement is more often used in real time programming

C-and-Cpp Nested-If-And-Switch-Statement 01-02 min 50-60 sec 29-02-20, 11:40 a.m. prabhu84a

Answers:

This is a programmatic style, and also a question of how many if-elseif-elseif-elseif... cases are there.  I personally tend to dislike switch statements and find them confusing.  But switch statements are natural if there are many cases of if-elseif-elseif-elseif-...
29-02-20, 11:58 a.m. bhaskar76


Log-in to answer to this question.