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

FILE PROGRAMMING

0 Answers   Wipro,


What is the difference between array and linked list in c?

0 Answers  


Write a progarm to find the length of string using switch case?

0 Answers   TCS,


What does volatile do?

0 Answers  


What are the Advantages of using macro

0 Answers  






How to add two numbers without using arithmetic operators?

18 Answers   College School Exams Tests, e track, Infosys, Pan Parag, Sapient, TCS,


What is the difference between File pointer and Internal Charecter Pointer?

2 Answers   TATA,


What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }

2 Answers  


Why c is procedure oriented?

0 Answers  


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

0 Answers  


Why should I use standard library functions instead of writing my own?

0 Answers  


Tell us the use of fflush() function in c language?

0 Answers  


Categories