WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / sudhir
malloc used to static memory allocation &
calloc is used to dyanmic memory allocation
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What are the advantages and disadvantages of c language?
Give basis knowledge of web designing ...
When is a null pointer used?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
What is the use of a static variable in c?
How many parameters should a function have?
What is indirection?
What is scope of variable in c?
What is the data segment that is followed by c?
What is the difference between union and structure in c?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
Which is best linux os?
Explain what is the difference between #include and #include 'file' ?
How can I remove the trailing spaces from a string?