How do we swap or interchange any 2 numbers without using
Temporary variable...Anybody can pls answer it.. Thanks in
Advance
Answer Posted / mangala pandi
Logically it is not possible. so your question is worng.
| Is This Answer Correct ? | 1 Yes | 15 No |
Post New Answer View All Answers
FILE PROGRAMMING
What is use of null pointer in c?
What is identifier in c?
Why do we use c for the speed of light?
Ow can I insert or delete a line (or record) in the middle of a file?
Why is c faster?
What is auto keyword in c?
Why main is not a keyword in c?
What is the difference between call by value and call by reference in c?
Can a pointer be null?
What is wrong with this declaration?
What are the benefits of c language?
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.
If fflush wont work, what can I use to flush input?
What is return type in c?