Pergunta de entrevista da empresa Tech Mahindra

What is malloc and calloc? Types of errors in a code?