Pregunta de entrevista de Tech Mahindra

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