Switch (i)
i=1;
case 1
i++;
case 2
++i;
break;
case 3
--i;
Output of i after executing the program
Answer Posted / vinay
the value of i if we forget the mistake u done
it is i=2;
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What are bitwise shift operators in c programming?
Describe dynamic data structure in c programming language?
How variables are declared in c?
How can you allocate arrays or structures bigger than 64K?
What is difference between structure and union in c?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
What are examples of structures?
What do you mean by a sequential access file?
Explain what is the difference between functions abs() and fabs()?
How do you write a program which produces its own source code as output?
explain what is fifo?
What is dynamic memory allocation?
All technical questions
How many parameters should a function have?
How main function is called in c?