what is the different between if-else and switch statment
(other than syntax)
Answer Posted / subbu
Basically while coding developers prefer Switch rather than
If-Else.
But inturn switch gets transferred to IF-ELSe format during
compilation.
| Is This Answer Correct ? | 31 Yes | 87 No |
Post New Answer View All Answers
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
What is wild pointer in c?
What are different types of operators?
What is malloc calloc and realloc in c?
What are pointers? What are different types of pointers?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
What is the use of ?
What is the acronym for ansi?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
Explain how do you list a file’s date and time?
How can I implement sets or arrays of bits?
how many errors in c explain deply
Difference between malloc() and calloc() function?
What is an example of structure?
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.