Calloc Full Form

Calloc Full Form

Edited By Team Careers360 | Updated on May 03, 2023 05:02 PM IST

What is the full form of Calloc?

Calloc is the abbreviation used for Contiguous Allocation. This is a term commonly used during computer programming. The calloc function allocates memory, and this initialises all the bits to zero. This is usually represented as calloc (). This is a type of library routine used in complex data structures. The syntax used for calloc() is : ptr = (cast_type *) calloc (n, size);. Calloc initialises its elements to zero and returns the pointer to the memory. It is also used to request any page known to be zeroed. This is used when we have to dynamically allocate the memory in the C program using standard library functions.

Calloc Full Form
Calloc Full Form

Features of Calloc

  • The values carried are important

  • Allocation time is slower

  • Memory is initialised

  • Less time efficient

  • Makes the return, turning it to zero

  • Creates or assigns multiple memory blocks

Other Related Full Forms


Get answers from students and experts
Back to top