WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / priya
malloc() allocates bytes of memory for a single block
whereas calloc() allocates blocks of memory for multiple
blocks
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What is 2c dna?
What is the modulus operator?
Is printf a keyword?
What is the right way to use errno?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
Explain 'bit masking'?
What will be the outcome of the following conditional statement if the value of variable s is 10?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
write a progrmm in c language take user interface generate table using for loop?
Why are all header files not declared in every c program?
What is define c?
What is meant by recursion?
Is it cc or c in a letter?
How do you print an address?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above