where does malloc() function get the memory?



where does malloc() function get the memory?..

Answer / saravanan

From the heap memory of the process

Is This Answer Correct ?    10 Yes 0 No

Post New Answer

More C Interview Questions

Can you please explain the difference between syntax vs logical error?

0 Answers  


a 'c' program to tell that the set of three coordinates lie on a same line

3 Answers   Persistent,


What is the difference between void main and main in c?

0 Answers  


What is declaration and definition in c?

0 Answers  


What is the difference between printf and scanf )?

0 Answers  






What is LINKED LIST? How can you access the last element in a linked list?

0 Answers   ADP,


Reverse the bit order in a single macro. eg. i/p = 10010101 --> o/p = 10101001

2 Answers  


in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?

4 Answers   Infosys, NetApp,


Which are low level languages?

0 Answers  


program to locate string with in a string with using strstr function

2 Answers   Huawei, Shreyas,


i have a written test in tomorrow

1 Answers   NNN, Value Labs,


what is the difference between procedure oriented and object oriented progaming language

1 Answers  


Categories