what is the different between if-else and switch statment
(other than syntax)
Answer Posted / sujoy dutta
we can use all varriables within if else.but we can't use
all verriables within switch case.example :-float and
String we can't use within switch case.
Is This Answer Correct ? | 17 Yes | 7 No |
Post New Answer View All Answers
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
Why dont c comments nest?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
What is difference between union and structure in c?
What is else if ladder?
Explain what are the different data types in c?
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
In a header file whether functions are declared or defined?
How do you declare a variable that will hold string values?
What is difference between class and structure?
What are the different types of linkage exist in c?
Tell me can the size of an array be declared at runtime?
Can you add pointers together? Why would you?
What does the format %10.2 mean when included in a printf statement?
Which is best linux os?