[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.
Technical Discussion :: C
Home > Technical Interview Q&A > C > Discussion

5 / 123

When is a switch statement better than multiple if statements?


A switch statement is generally best to use when you have more than two conditional expressions based on a single variable of numeric type.

Asked In ::

Post Your Answer Here:

Top 15 Job Interview Questions and ...
Top 15 Job Interview Questions and Answers

Rate This: +5 -0      +

Post Your Reply Here:

Alert me

Report Error

Please Login First Click Here

Most Popular Qs.