What is the heap in c?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between constant pointer and constant variable?
int a=0,b=2; if (a=0) b=0; else b=*10; What is the value of b ?
What are the advantages and disadvantages of pointers?
To what value do nonglobal variables default? 1) auto 2) register 3) static
What is the sizeof () a pointer?
How does free() know explain how much memory to release?
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.
progrem to generate the following series 1 12 123 1234 12345
how the compiler treats any volatile variable?Explain with example.
Can main () be called recursively?
Is using exit() the same as using return?
What is getch c?