Which is more efficient, a switch statement or an if else chain?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

How do we open a binary file in Read/Write mode in C?

0 Answers   Alter,


what is c?

4 Answers   IBM, TCS,


How do you override a defined macro?

0 Answers  


Is return a keyword in c?

0 Answers  


What is the purpose of void pointer?

0 Answers  






How would you obtain the current time and difference between two times?

0 Answers   TISL,


What is the difference between GETS();AND SCANF();

4 Answers   TCS,


main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); }

27 Answers   Advent Global Solutions, CitiGroup, Valeo Lighting Systems India Private Limited, Vishal Transformers, Wipro, Zencer,


What is volatile variable in c?

0 Answers  


How to compare array with pointer in c?

0 Answers  


Explain how do you search data in a data file using random access method?

0 Answers  


What is scope rule in c?

0 Answers  


Categories