As reported: SentinelOne Senior Software Engineer (C/C++ role, India), 2025, round 1 (one hour), after the multithreaded coding question.
Answer these C/C++ questions:
- What is the C++11 memory model?
- How do
malloc,callocandreallocwork, and how do they differ? - Write C code to create a 2D matrix.
- How is memory managed in C and in C++?