How could I read let\'s say 10 floats and store them in an array without wasting any memory?
The answer to your question is that you cannot add things to an array and expect the array to use any memory.