what is the different between if-else and switch statment
(other than syntax)
Answer Posted / kuldeep sadhu
actually if else is a cndition checking system but the
switch is a selection of user typed type......
& secondly switch does not check all cases but jump directly
on the user interested case but if checkes all.............
| Is This Answer Correct ? | 61 Yes | 23 No |
Post New Answer View All Answers
List the different types of c tokens?
How many types of sorting are there in c?
Why is c called "mother" language?
What do you mean by invalid pointer arithmetic?
how to make a scientific calculater ?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
What are the salient features of c languages?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
what are the different storage classes in c?
What is array in C
What the different types of arrays in c?
Explain output of printf("Hello World"-'A'+'B'); ?
what are bit fields? What is the use of bit fields in a structure declaration?
Why clrscr is used after variable declaration?
What does %d do?