Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
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
Please
log in
to post a comment.
тренировка баскетболиста 2
test27
урок 13 пример 3 параметры по значению и параметры переменные
Régua do Tanque Cilindrico Horizontal
Сумма квадратов чисел = n
Calculatrice 1.0
города
Prodavnica
0, pi, pi/4
вывод номера символа на экран
stackse - search stackoverflow differently
Please log in to post a comment.