Consider a sample below.
char* p = (char*)malloc(4096); p[0] = \'a\'; p[1] = \'b\';
The 4KB memory is allocated by calling malloc().
malloc()