When is a “switch” statement preferable over an “if” statement?


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

Post New Answer

More C Interview Questions

What is assert and when would I use it?

0 Answers  


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

0 Answers  


Is there something we can do in C but not in C++? Declare variable names that are keywords in C++ but not C.

2 Answers   Infosys,


how to create c progarm without void main()?

1 Answers   NIIT,


write a program for the normal snake games find in most of the mobiles.

0 Answers   Accenture, Wipro,


print out of string in this format; 1. "rajesh" 2. \n 3. %d

5 Answers   mpower,


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

0 Answers   Wipro,


What is the purpose of 'register' keyword?

0 Answers  


Linked lists -- can you tell me how to check whether a linked list is circular?

0 Answers  


How to add two numbers with using function?

2 Answers   Miracle Solutions,


What is the difference between printf and scanf in c?

0 Answers  


what is the difference between i++ and ++i?

5 Answers  


Categories