what is the different between if-else and switch statment
(other than syntax)
Answer Posted / girish patidar
switch can't check all cases but goto directly
on the perticular case but if checkes all case and verify
condition then execute.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is difference between array and structure in c?
Is c dynamically typed?
What are pointers? What are different types of pointers?
Is c easier than java?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
Differentiate between the expression “++a” and “a++”?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
Explain what is the benefit of using enum to declare a constant?
What are different types of operators?
What are qualifiers and modifiers c?
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
What does a function declared as pascal do differently?
i have a written test for microland please give me test pattern