what's the return value of malloc()

Answer Posted / monu verma

malloc returns void pointer to allocated memory location.
it is also called generic pointer

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2568


Why header files are used?

832


What is methods in c?

822


What is the use of pragma in embedded c?

778


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.

15453


Why c is procedure oriented?

779


What are header files? What are their uses?

832


Explain the difference between strcpy() and memcpy() function?

769


Write a program for finding factorial of a number.

840


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3383


What do you mean by c what are the main characteristics of c language?

784


What does malloc () calloc () realloc () free () do?

774


Linked lists -- can you tell me how to check whether a linked list is circular?

847


What is the difference between malloc() and calloc()?

1030


C program to find all possible outcomes of a dice?

2055