AMD Interview Question

Pointers diamond problem in C++ Linux: how to select a file recursively