S
swaroophr
Which of switch statement and if-else statement takes less time to
execute?
execute?
Which of switch statement and if-else statement takes less time to
execute?
Which of switch statement and if-else statement takes less time to
execute?
Which of switch statement and if-else statement takes less time to
execute?
Bhan said:I am trying the same.Please help me out
Thanks for your reply
Bhanu
Keith Thompson said:You are trying the same as what? Provide some context. Don't assume
that we can see the article to which you're replying.
Which of switch statement and if-else statement takes less time to
execute?
Just depends.Which of switch statement and if-else statement takes less time to
execute?
Which of switch statement and if-else statement takes less time to
execute?
Which of switch statement and if-else statement takes less time to
execute?
Anonymous said:Trying to express a switch as a chain of if-else's is unlikely to be
better than a switch statement. The only time this should be
considered is if you know that one case out of many is statistically
far more likely to occur.
[email protected] said:Which of switch statement and if-else statement takes less time to
execute?
He didn't have enough time to provide context...
There was only 5 minutes left for him to complete his online quiz
and he needed the answers quick!
Besides, the question was asked in the message subject... can't you read?
Bhan said:If you know the answer tell me.
Else keep quite.
If you know the answer tell me.
Else keep quite.
I liked the rude guy who told you that you did *not* know anythingCBFalconer said:*** rude top-posting fixed ***
You ARE the rude one. There is still no question to answer.
Message subjects are not necessarily visible when reading a
message.
Which of switch statement and if-else statement takes less time to
execute?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.