Moved test.c to test.cpp for C++ std and runtime-dynamically allocated arrays...