Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Compile and Execute FORTRAN-95 Online

program hello
   integer , pointer :: p(:,:)
   integer , pointer :: p1(:,:)
   
   allocate( p(11:12,21:22) )
   p = 1; p(12,22) = 22
   print*, p(11:12,21:22)
   
   p1(5:,9:) => p(11:12,21:22)
   
   deallocate(p)
   
   
   
end program Hello

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.