Both are equally efficient. Usually the compiler implements them using jump instructions. But each of them has their own unique advantages.
Thursday, April 2, 2009
What is more efficient? A switch() or an if() else()?
Posted by Raghu Kumar on 7:10 PM
RSS Feed
Twitter
Orkut