Switch (i)
i=1;
case 1
i++;
case 2
++i;
break;
case 3
--i;
Output of i after executing the program
Answer Posted / rukmanee
output: i=1
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
can any one provide me the notes of data structure for ignou cs-62 paper
Difference between linking and loading?
what is the significance of static storage class specifier?
List some of the dynamic data structures in C?
How many levels deep can include files be nested?
Explain what is wrong in this statement?
Can a local variable be volatile in c?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
Why is void main used?
How to create struct variables?
The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.
how to write optimum code to divide a 50 digit number with a 25 digit number??
What is a macro in c preprocessor?
Write a program of advanced Fibonacci series.