What is the difference between malloc() and calloc()?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
malloc(): Allocates a single block of memory without initializing it.
calloc(): Allocates multiple blocks of memory and initializes them to zero.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
malloc(): Allocates a single block of memory without initializing it.
calloc(): Allocates multiple blocks of memory and initializes them to zero.
| Is This Answer Correct ? | 0 Yes | 0 No |
malloc(): Allocates a single block of memory without initializing it.
calloc(): Allocates multiple blocks of memory and initializes them to zero.
| Is This Answer Correct ? | 0 Yes | 0 No |
what does static variable mean?
What is difference between stdio h and conio h?
Can we write a program without main() function?
how to write a bubble sort program without using temporary variable?
What does calloc stand for?
simple program of graphics and thier outpu display with a want what is out put of graohics in c language
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
What is a example of a variable?
write a c program to calculate sum of digits till it reduces to a single digit using recursion
What are file streams?
How to draw the flowchart for structure programs?
Explain what is dynamic data structure?