the malloc and calloc code example
Example 1: how to use malloc in c
int* a =(int*)malloc(sizeof(int))
Example 2: malloc syntax
ptr = (cast-type*) malloc(byte-size)
int* a =(int*)malloc(sizeof(int))
ptr = (cast-type*) malloc(byte-size)