whatis malloc code example
Example 1: Malloc
ptr = malloc(size); //You dont need to cast
Example 2: malloc syntax
ptr = (cast-type*) malloc(byte-size)
ptr = malloc(size); //You dont need to cast
ptr = (cast-type*) malloc(byte-size)