DXC Technology Interview Question

Calloc() and malloc() , psudo code