what is the different between if-else and switch statment
(other than syntax)
Answer Posted / lingaraj patra
Th switch structure is a multiple-selection structure that
allows the handling of even more complicated decision
statements other than a two-way if-else structure
Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What does %d do in c?
Explain what is the use of a semicolon (;) at the end of every program statement?
Why is c called c?
What is const and volatile in c?
Why calloc is better than malloc?
I need previous papers of CSC.......plz help out by posting them.......
What are the different file extensions involved when programming in C?
Why void main is used in c?
What functions are used for dynamic memory allocation in c language?
What are the rules for the identifier?
Explain how do you determine whether to use a stream function or a low-level function?
How do you use a 'Local Block'?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
what is the basis for selection of arrays or pointers as data structure in a program
Explain what are reserved words?