Kaushal,
While questions are welcome, this is a really basic question. Just a few minutes searching the web easily returns the answer. I recommend you do a tiny bit of reading: https://medium.com/@jamal.kaksouri/a-comprehensive-guide-to-pointers-in-go-4acc58eb1f4d This link answers all your questions with simple explaination and code examples. ---- On Sun, 23 Nov 2025 12:12:08 -0600 Kaushal Shriyan <[email protected]> wrote --- 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 -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to mailto:[email protected] . To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/a7505c98-dcc9-442b-b383-8671dfa01abdn%40googlegroups.com?utm_medium=email&utm_source=footer . -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/golang-nuts/19ab1f42650.3ee1b20691072.6426615294656902065%40pcsw.us.
