How could I read let\'s say 10 floats and store them in an array without wasting any memory?
int size = 10; float vet[size]; for(i = 0; i < size; i++){ scanf("%f", &vet[i]); }
As simple as it could be :)