WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / vini sharma
malloc()
allocates byte of memory and calloc() allocates block of
memory.
| Is This Answer Correct ? | 50 Yes | 22 No |
Post New Answer View All Answers
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
List some of the static data structures in C?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
Explain what is the concatenation operator?
How can I determine whether a machines byte order is big-endian or little-endian?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
Where are the auto variables stored?
Give the rules for variable declaration?
Write a code to generate divisors of an integer?
Distinguish between actual and formal arguments.
What do you mean by c what are the main characteristics of c language?
What does *p++ do? What does it point to?
Explain the difference between the local variable and global variable in c?
What are the types of c language?