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

Why is c known as a mother language?

740


What is c language used for?

553


Tell me with an example the self-referential structure?

560


How variables are declared in c?

569


What is the difference between a free-standing and a hosted environment?

637






What does node * mean?

705


How can I read/write structures from/to data files?

544


What are pointers really good for, anyway?

610


what is recursion in C

607


How do I determine whether a character is numeric, alphabetic, and so on?

620


What is openmp in c?

608


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

2602


The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference

669


Where is c used?

644


State the difference between realloc and free.

627