Pregunta de entrevista de GE HealthCare

How c language manages memory? What is the difference between heap and stack?