Schneider Electric Interview Question

can you limit the memory usage for any operation done in computer? write the code to pass the array by value