WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / karthik
Malloc() is used to allocate a block of memory
Calloc() is used to allocate a block of memory and initialize it.
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Write a program to know whether the input number is an armstrong number.
What is the benefit of using const for declaring constants?
What is include directive in c?
What is volatile, register definition in C
Can variables be declared anywhere in c?
Can you please explain the scope of static variables?
the question is that what you have been doing all these periods (one year gap)
How do you determine a file’s attributes?
What are preprocessor directives?
Explain how do you override a defined macro?
Is null equal to 0 in sql?
How will you find a duplicate number in a array without negating the nos ?
What is the use of pragma in embedded c?
Write a program to print numbers from 1 to 100 without using loop in c?
What are enumerated types?