Next: Solution
Up: Arrays
Previous: Solution
Given,
INTEGER :: i = 3, j = 7
REAL, DIMENSION(1:20) :: A
which of the following are valid array references for the array:
- A(12)
- A(21)
- A(I)
- A(3.0)
- A(I*J)
- A(1+INT(4.0*ATAN(1.0)))
[Hint: 4.0*ATAN(1.0)
is ]
Go back to Notes
Next: Solution
Up: Arrays
Previous: Solution
©University of Liverpool, 1997
Thu May 29 10:11:26 BST 1997Not for commercial use.