79276217

Date: 2024-12-12 18:39:48
Score: 2
Natty:
Report link

dynamically allocate an array using the malloc, calloc, or realloc functions, the size of the array isn’t stored anywhere in memory. Therefore, there’s no direct way to find the size of a dynamically allocated array. To manage the size of a dynamically allocated array, we must keep track of the size separately.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hariharan