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 should malloc() do? Return a null pointer or a pointer to 0 bytes?
How many levels of indirection in pointers can you have in a single declaration?
i got 75% in all semester am i eligible for your company
What is the explanation for prototype function in c?
What is the difference between c &c++?
Explain what are binary trees?
Can a variable be both constant and volatile?
What is const volatile variable in c?
What are c preprocessors?
How can you tell whether a program was compiled using c versus c++?
Explain setjmp()?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
What is c language and why we use it?
Explain the use of fflush() function?