WHAT IS THE DIFFERENCE BETWEEN malloc() and calloc() in c
file management?
Answer Posted / kaushik
malloc takes only one argument but calloc takes two orguments
malloc takes garbage value initial but calloc takes zero initial value,
calloc()and malloc() also returns NULL if there is not sufficient memory available in the heap
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
What are the different data types in C?
Can an array be an Ivalue?
What is the general form of #line preprocessor?
Why is c known as a mother language?
What is static function in c?
Is main is user defined function?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What are the salient features of c languages?
With the help of using classes, write a program to add two numbers.
Why is c fast?
Describe wild pointers in c?
Who invented b language?
Explain what does it mean when a pointer is used in an if statement?
how to find binary of number?