What do you mean by dynamic memory allocation in c? What functions are used?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

I need a sort of an approximate strcmp routine?

0 Answers  


Why preprocessor should come before source code?

2 Answers  


What does main () mean in c?

0 Answers  


hi any body pls give me company name interview conduct "c" language only

0 Answers  


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.

5 Answers   CCEM, TCS,






void main() { static int i = 5; if(--i) { main(); printf("%d ",i); } } what would be output of the above program and justify your answer? }

5 Answers   C DAC, CDAC, Infosys, Wipro,


Is using exit() the same as using return?

0 Answers  


what are non standard function in c

0 Answers  


int x=sizeof(!5.856); What will value of variable x?

2 Answers  


c program to print a name without using semicolon

9 Answers   TCS, Wipro,


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.

0 Answers  


What is output of the following program ? main() { i = 1; printf("%d %d %d\n",i,i++,i++); }

9 Answers   CTS, Wipro,


Categories