Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Dynamical Memory Allocation fortran
Language:
Ada
Assembly
Bash
C#
C++ (gcc)
C++ (clang)
C++ (vc++)
C (gcc)
C (clang)
C (vc)
Client Side
Clojure
Common Lisp
D
Elixir
Erlang
F#
Fortran
Go
Haskell
Java
Javascript
Kotlin
Lua
MySql
Node.js
Ocaml
Octave
Objective-C
Oracle
Pascal
Perl
Php
PostgreSQL
Prolog
Python
Python 3
R
Rust
Ruby
Scala
Scheme
Sql Server
Swift
Tcl
Visual Basic
Layout:
Vertical
Horizontal
!gfortran, gcc vrsion 5.4.0 20160609 program hello integer, parameter::N_max=10 integer,dimension(N_max)::A A=(/1,2,3,4,5/) integer,allocatable(:)::A1 allocate(A1(A)) A1(A(1))=2 print *, 'A1=', A1(A(1)) deallocate(A1) end program hello
Show compiler warnings
[
+
]
Show input
fork mode
|
history
|
discussion