Micron Technology Interview Question

Write a test program with C++