WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / divya sharma
malloc takes the single argument nd calloc takes two argument
malloc initialize byte of memory while calloc initialize the
block of memory
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Do pointers need to be initialized?
Do you know the difference between exit() and _exit() function in c?
What is array of pointers to string?
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
What is the use of sizeof?
What is nested structure?
What is enumerated data type in c?
How will you find a duplicate number in a array without negating the nos ?
What does do in c?
Where are some collections of useful code fragments and examples?
What is the most efficient way to count the number of bits which are set in an integer?
What the advantages of using Unions?
Write a program to identify if a given binary tree is balanced or not.
What is the explanation for modular programming?
Write a program to swap two numbers without using third variable?