where does malloc() function get the memory?

Answer Posted / saravanan

From the heap memory of the process

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does c have circular shift operators?

734


How can I convert a number to a string?

611


What do you mean by a sequential access file?

631


Calculate 1*2*3*____*n using recursive function??

1522


What is a loop?

558






Is that possible to add pointers to each other?

907


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

1635


Is c# a good language?

614


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

14971


How can I change their mode to binary?

701


What is difference between structure and union in c?

551


What is the use of ?

628


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

650


What is realloc in c?

581


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

671