what does " calloc" do?

Answer Posted / srinivas

Allocate memory where ever it is free and that to it is in
terms of block and initialises that block to zero.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

659


What is function what are the types of function?

560


When should a type cast be used?

575


Why pointers are used?

633


What is meant by preprocessor in c?

536






How will you write a code for accessing the length of an array without assigning it to another variable?

614


Is fortran faster than c?

581


What is typedf?

670


What is a stream?

651


All technical questions

1511


What is pivot in c?

566


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

1783


What's the right way to use errno?

624


write a program to generate address labels using structures?

4007


What is c preprocessor mean?

794