main()
{
int x=20,y=35;
x = y++ + x++;
y = ++y + ++x;
printf("%d %d\n",x,y);
}

what is the output?

Answer Posted / mastan vali.shaik

55 59

Is This Answer Correct ?    3 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a loop?

560


Can you write the algorithm for Queue?

1558


What are the advantages and disadvantages of c language?

569


Which is better oop or procedural?

638


What is wrong with this initialization?

597






What is the significance of an algorithm to C programming?

602


Why is c platform dependent?

628


What is hashing in c?

648


Explain what will the preprocessor do for a program?

607


What are the back slash character constants or escape sequence charactersavailable in c?

693


What are the types of bitwise operator?

669


What is modeling?

653


How can I delete a file?

636


What is call by value in c?

569


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.

1639