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
How can I pad a string to a known length?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
What is c language used for?
Function calling procedures? and their differences? Why should one go for Call by Reference?
Explain what are the standard predefined macros?
What is sizeof int in c?
Where static variables are stored in c?
Is malloc memset faster than calloc?
What is #line used for?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?
how could explain about job profile
What does %2f mean in c?
What tq means in chat?
What is string length in c?