Vonage interview question

What’s the difference between memory management in c/cpp and say rust?