0
in term of executing a program, which is more faster : using "case" or "if else"?
2 Respostas
+ 1
I guess they are translated the same way by the compiler, and thus have the same speed.
Using a switch instead of a long chain of else if is better for ease of development and readability.
0
Switch case obviously as it is more suitable but else if used in complicate ones