main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}
what is the output?
Post New Answer View All Answers
What is a loop?
Can you write the algorithm for Queue?
What are the advantages and disadvantages of c language?
Which is better oop or procedural?
What is wrong with this initialization?
What is the significance of an algorithm to C programming?
Why is c platform dependent?
What is hashing in c?
Explain what will the preprocessor do for a program?
What are the back slash character constants or escape sequence charactersavailable in c?
What are the types of bitwise operator?
What is modeling?
How can I delete a file?
What is call by value in c?
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.