what is the different between if-else and switch statment
(other than syntax)
Answer Posted / abhay kumar
if else checks for all he conditions where as switch
directly jump to specified case.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the features of c language?
Are local variables initialized to zero by default in c?
Does c have an equivalent to pascals with statement?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
What happens if you free a pointer twice?
What is the difference between malloc() and calloc() function in c language?
How can you avoid including a header more than once?
How can I write a function that takes a format string and a variable number of arguments?
What are the types of data files?
What is #include conio h?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
Write the syntax and purpose of a switch statement in C.
What is the purpose of realloc()?
What is the use of volatile?