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
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
What is getche() function?
Explain what happens if you free a pointer twice?
What is double pointer?
What does the c in ctime mean?
C program to find all possible outcomes of a dice?
can we have joblib in a proc ?
Wt are the Buses in C Language
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
Why is this loop always executing once?
How can I get random integers in a certain range?
What is the role of && operator in a program code?
What is a loop?
What is operator precedence?