Cognizant Interview Question

what are calloc and malloc used for