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 |
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
What are the restrictions of a modulus operator?
Write program to remove duplicate in an array?
What is the size of empty structure in c?
What is define c?
What is file in c language?
What is a string?
What is getch c?
What are control structures? What are the different types?
Juxtapose the use of override with new. What is shadowing?
Program to find the value of e raised to power x using while loop
how can we print hellow world programme without using semicolon