Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
test20
//fpc 3.0.4 {dynamic variable p^ is determined nowhere (!)} program test20; {pointer to variable} type t=1..2 ;{new ordinal type} Pt=^t ;{pointer type} var p:Pt;{pointer variable is static (!) variable} a:t;{static variable "a"} begin a:=2; p:=@a; {pointer var is static (!) variable} writeln('direct access',a+1:2);{direct access through static variable "a"} writeln; writeln('non direct access',p^+4:2);{non direct access through dynamic (nondirect) variable} end.
run
|
edit
|
history
|
help
0
zadan 4
Pokazivac-dinamicka alokacija memorije
sandogh 1
Количество пар кр и не кр 11 оптимизированное с логикой
nomer7
practica 3 ejercicio 1
2
Menukar nilai1
Primo1
help me to fix this stupid thing, so tired about it