Hello, I am learning about pointers.
What is the difference between this
var n *int
and
var n int
?
How would each one be used in an application?
Hello, I am learning about pointers.
What is the difference between this
var n *int
and
var n int
?
How would each one be used in an application?
https://dave.cheney.net/2017/04/26/understand-go-pointers-in-less-than-800-words-or-your-money-back
Too bad Dave Cheney doesn’t post much any more.
Thank you sir.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.