Hi,
I am learning Go and wanted to clarify something:
Does Go support pointers like languages such as C or C++?
If yes, what exactly can you do with pointers in Go?
For example:
• Can you get the memory address of a variable?
• Can you modify a variable through its pointer?
• Does Go allow pointer arithmetic?
• How are pointers commonly used in real Go programs?
I would appreciate a simple explanation or code examples to better understand how pointers work in Go.
Thanks in advance.
Best regards,
Kaushal