ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
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. 


No Answer is Posted For this Question

Be the First to Post Answer

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
What is the real difference between arrays and pointers?  11
what is the stackpointer  2
Software Interview Questions CAT1
Give the output for the following program. #define STYLE1 char main() { typedef char STYLE2; STYLE1 x; STYLE2 y; clrscr(); x=255; y=255; printf("%d %d\n",x,y); } ADITI1
What are the preprocessors? HP6
1. Write a c pgm to print 1 to 100 without using loops. 2. Write a c pgm for leap year 3. Write a c pgm fibbonacci series,factorial 4. Write a c pgm count no of lines , blanks, tabs in a para(File concept) 5. Write a c pgm to print the letter as per given condition i.e.. if u give 4 out put should b 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 6.how do get the o/p in number from 1 to 100 in the screen without using control statement? 7. who do u print the word "hello world" without using "printf" statement? 8. write sql program to get the detail of student in a class? Definitions: structure union arrays linkedlist macros directives difference b/w pre processorsDiffrence: 1.Constructors and destructors 2.Structure and Union 3.Array and Lists 4.pre processor... 5. Privillages in C++ 6.structure and union 7.break and continue 8.while and dowhile Pgm..  1
what are the compilation steps? ( i want inside the compiler )  1
The differences between Windows XP and Windows Visa HCL7
What ios diff. Between %e & %f? Honeywell1
what is difference between overriding and overloading?  1
what is meant by the "equivalence of pointers and arrays" in C? Satyam3
consider the following C code main() { int i=3,x; while(i>0) { x=func(i); i--; } int func(int n) { static sum=0; sum=sum+n; return(sum); } the final value of x is TCS3
Explain following declaration int *P(void); and int (*p)(char *a);  2
Name the language in which the compiler of "c" in written? Bajaj1
What is false about the following A compound statement is a.A set of simple statments b.Demarcated on either side by curly brackets c.Can be used in place of simple statement d.A C function is not a compound statement. TCS1
long int size a) 4 bytes b) 2 bytes c) compiler dependent d) 8 bytes HCL11
Write one statement equalent to the following two statements x=sqr(a); return(x); Choose from one of the alternatives a.return(sqr(a)); b.printf("sqr(a)"); c.return(a*a*a); d.printf("%d",sqr(a)); TCS4
What does a run-time "null pointer assignment" error mean?  2
how to impliment 2 or more stacks in a single dimensional array ? iFlex1
Which of the following sorts is quickest when sorting the following set: 1 2 3 5 4 1) Quick Sort 2) Bubble Sort 3) Merge Sort  5
 
For more C Interview Questions Click Here 
         
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com