The ones who are crazy enough to think they can change the world are the ones who do.
- Steve Jobs

C coreleft()

Why coreleft

  • coreleft() function simply returns a measure of unused memory.
  • For tiny, small, or medium sized memory modal: unsigned coreleft(void).
  • For compact, large and huge sized memory model: unsigned long coreleft(void).
coreleft in c

C Program - coreleft()

coreleft.c
#include <stdio.h>
#include <conio.h>
#include <alloc.h>
int main()
{
printf("\nMeasure of Unused Memory = %u", coreleft());
return 0;
}
  • Measure of Unused memory = 1559890654

Note:

Unfortunately, coreleft() won't work because Memory architecture differs with operating system.

Report Us

We may make mistakes(spelling, program bug, typing mistake and etc.), So we have this container to collect mistakes. We highly respect your findings.

Report