What is substring in c?
No Answer is Posted For this Question
Be the First to Post Answer
What are .h files and what should I put in them?
What is realloc in c?
can any one tell that i have a variable which is declared as static but i want this variable to be visible to the other files? how?
How do you list files in a directory?
WAP to accept first name,middle name & last name of a student display its initials?
main() {int a=200*200/100; printf("%d",a); }
Create a simple code fragment that will swap the values of two variables num1 and num2.
where do we use structure pointer?
Write a program to write a given string in maximum possibilities? i.e str[5]="reddy"; i.e we can write this string in 120 ways for that write a program
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.
Why is this loop always executing once?
Write a main() program that calls this function at least 10 times. Try implementing this function in two different ways. First, use an external variable to store the count. Second, use a local variable. Which is more appropriate?