Answer Posted / shashidhar murthy
malloc returns a pointer to the allocated space if required
memory is found, else, a null pointer is returned and
'errno' is set to indicate the error.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Is c pass by value or reference?
What is maximum size of array in c?
What is a null string in c?
What are local static variables? How can you use them?
Who developed c language?
What are # preprocessor operator in c?
What is typedef example?
How do you write a program which produces its own source code as output?
Does free set pointer to null?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What is a far pointer in c?
Is fortran still used today?
What are keywords in c with examples?
Write a program to print numbers from 1 to 100 without using loop in c?
The file stdio.h, what does it contain?