V Forum

[ log in ]

What is the difference ?

k1attila12 2020-11-26 07:15
mut a:=[1,2,3]

mut p:=a
or
mut p:=&a

This modify oroginal array in both cases :
p[1]=100







Powered by Vorum, open-source blogging/forum software written in V