I want to fill an array with unknown size in fortran90. This is the equivalent code in MATLAB :
for i=1:10
A[i] = i
end
I know that i can pass the size, but How can i do this in fortran90 without passing the size of the array. I read that we can use pointers, but i really dont know how to deal with pointers