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 tq means in chat?
Differentiate between the expression “++a” and “a++”?
What is bin sh c?
What is string function in c?
If i have an array 0 to 99 i.e,(Size 100) I place the values 1 to 100 randomly like a[0]=29,a[1]=56 upto array[99].. the values are only between 1 to 100. getting the array values by using scanf.. If i entered one wrong element value line a[56]=108. how can i find it.. and also how to find the missing value in 1 to 100.. and i want to replace the missing values.. any one of them know please post your answer..
Differentiate call by value and call by reference?
Why is c called a structured programming language?
Can the curly brackets { } be used to enclose a single line of code?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
What are header files and what are its uses in C programming?
Why do we use null pointer?
What is the concatenation operator?
What are the different types of linkage exist in c?
What does the error message "DGROUP exceeds 64K" mean?