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
What is array in c with example?
Explain about the constants which help in debugging?
What is wrong in this statement? scanf(ā%dā,whatnumber);
Is main is user defined function?
What is action and transformation in spark?
Explain what happens if you free a pointer twice?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
Explain how do you print an address?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
Can we change the value of static variable in c?
What is an arrays?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
What is %d used for?
What is meant by type specifiers?