what is the different between if-else and switch statment
(other than syntax)
Answer Posted / subbu
Basically while coding developers prefer Switch rather than
If-Else.
But inturn switch gets transferred to IF-ELSe format during
compilation.
Is This Answer Correct ? | 31 Yes | 87 No |
Post New Answer View All Answers
Can the sizeof operator be used to tell the size of an array passed to a function?
Sir i need notes for structure,functions,pointers in c language can you help me please
Can true be a variable name in c?
Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10
What is build process in c?
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
What is difference between structure and union with example?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
What is boolean in c?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
Is null always defined as 0(zero)?
Is c procedural or functional?
Not all reserved words are written in lowercase. TRUE or FALSE?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
define string ?