V Forum

[ log in ]

Why p type is Point ? (Why not &Point)

k1attila12 2020-11-23 16:53
struct Point {
x int
y int
}
p := &Point{10, 10}
println(typeof(p))



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