Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

calloc - Allocating memory for the pointer in C


#include <stdlib.h>
  #include <stdio.h>

  int main(void){
 
    float *fc;

    fc = calloc(100, sizeof(float));
   
    if(!fc) {
      printf("Forget Code Allocation Error\n");
      exit(1);
    }
  }