Wave Computing interview question

Basic C++ question