Wave Computing Interview Question

Basic C++ question