main()
{
int i=5;
printf("%d%d%d%d",i++,i--,i);
}
Answer Posted / cholan
55545
| Is This Answer Correct ? | 0 Yes | 10 No |
Post New Answer View All Answers
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.
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
Differentiate between the expression “++a” and “a++”?
Write a program to implement queue.
What is zero based addressing?
Is return a keyword in c?
Explain the difference between null pointer and void pointer.
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
What does a pointer variable always consist of?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What is data structure in c programming?
How do I get a null pointer in my programs?
how to construct a simulator keeping the logical boolean gates in c
How can I recover the file name given an open stream or file descriptor?