WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / bavithra
malloc() doesnot initialize the allocated memory
calloc() initializes the allocated memory to ZERO
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Why do we need a structure?
Are negative numbers true in c?
How can I sort a linked list?
How do I copy files?
How can I get random integers in a certain range?
Here is a good puzzle: how do you write a program which produces its own source code as output?
Are the variables argc and argv are local to main?
What are global variables and explain how do you declare them?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
What is the purpose of ftell?
What is an operator?
What is cohesion in c?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
In a byte, what is the maximum decimal number that you can accommodate?
Differentiate between Macro and ordinary definition.