Answer Posted / ashish
Upon successful completion with size not equal to 0, malloc() shall return a pointer to the allocated space. If size is 0, either a null pointer or a unique pointer that can be successfully passed to free() shall be returned. Otherwise, it shall return a null pointer [CX] and set errno to indicate the error
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
In C programming, what command or code can be used to determine if a number of odd or even?
What is typedef struct in c?
What is typedef?
What is a good data structure to use for storing lines of text?
What is substring in c?
How can you return multiple values from a function?
How macro execution is faster than function ?
What is the difference between NULL and NUL?
What does %c mean in c?
What are the ways to a null pointer can use in c programming language?
What is property type c?
What is a shell structure examples?
What is the difference between int main and void main in c?
How many levels deep can include files be nested?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above