int main()
{
int i=1;
switch(i)
{
case '1':
printf("hello");
break;
case 1:
printf("Hi");
break;
case 49:
printf("Good Morning");
break;
}
return 0;
}
Answer Posted / hussain reddy
error because duplicate case values
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the use of sizeof?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is #include stdio h?
When is the “void” keyword used in a function?
How pointer is different from array?
please send me the code for multiplying sparse matrix using c
What is c language & why it is used?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
Differentiate between the expression “++a” and “a++”?
What is extern c used for?
develop algorithms to add polynomials (i) in one variable
What is typedef?
What is the difference between array and pointer in c?
How can you increase the size of a statically allocated array?
write a c program to calculate sum of digits till it reduces to a single digit using recursion