Logo

Question preview

Ampersand

What this preview is

About this preview

Ampersand is a cooked quant interview question on operating systems in Cpp, asked at Quant.

Unlock full access to getcracked

Join to unlock this question, detailed solutions, and our complete library of quant finance interview prep.

What this operating-systems memory-addressing question tests

This is a straightforward C++ question about the distinction between different types of addresses in memory. It asks you to reason about what the ampersand operator returns when applied to a variable, and to classify the result correctly.

The question probes whether you understand the fundamental abstraction layers in operating systems: virtual vs. physical addresses, and how the C++ language exposes memory references at the user level. This is foundational knowledge for systems programming, especially in low-latency environments where you need to reason about memory layout, pointer semantics, and cache behaviour.

  • Virtual and physical address spaces
  • Memory management and address translation
  • Pointer semantics in C++
  • The role of the memory management unit (MMU)

Firms that ask questions like this

CTC.

Related learning resources

  • Operating Systems: Three Easy Pieces