Sample.cpp: Use delete[] iso. delete for array