WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / prakashdasari
malloc () for allocating the single block of memory
calloc () for allocating multiple blocks of memory
the values assigned are garbage in case of malloc() and
proper values (zeros) are assigned in case of calloc().
| Is This Answer Correct ? | 114 Yes | 34 No |
Post New Answer View All Answers
Explain how to reverse singly link list.
Which built-in library function can be used to match a patter from the string?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
Explain void pointer?
Are the variables argc and argv are always local to main?
Differentiate between new and malloc(), delete and free() ?
What functions are used for dynamic memory allocation in c language?
what is recursion in C
What is console in c language?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
What is the purpose of main( ) in c language?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
What are derived data types in c?
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
Why cant I open a file by its explicit path?