what is the different between if-else and switch statment
(other than syntax)
Answer Posted / ahmed
in if else if one condition is satisfied then first
statement is execute else the 2nd statement.
While in switch their is multiple choice for selection
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
What is difference between union All statement and Union?
Differentiate between Macro and ordinary definition.
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
string reverse using recursion
What is substring in c?
Write a program which returns the first non repetitive character in the string?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
Explain 'far' and 'near' pointers in c.
Explain what are reserved words?
What are conditional operators in C?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is the purpose of 'register' keyword?
Explain the concept and use of type void.
What are linked lists in c?
What is the use of parallelize in spark?