# Understanding Pointers and Memory Allocation

DevFeed: [Understanding Pointers and Memory Allocation](<https://devfeed.tech/articles/understanding-pointers-and-memory-allocation-22061.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2013/07/understanding-pointers-and-memory.html>)

Published: 2013-07-27T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [C](<https://devfeed.tech/topics/c.md>)

Tags: [ardan-labs](<https://devfeed.tech/tags/ardan-labs.md>), [blog](<https://devfeed.tech/tags/blog.md>), [c](<https://devfeed.tech/tags/c.md>), [go](<https://devfeed.tech/tags/go.md>), [go-language](<https://devfeed.tech/tags/go-language.md>), [go-programming](<https://devfeed.tech/tags/go-programming.md>), [golang](<https://devfeed.tech/tags/golang.md>), [memory](<https://devfeed.tech/tags/memory.md>), [pointers](<https://devfeed.tech/tags/pointers.md>), [programming](<https://devfeed.tech/tags/programming.md>)

## AI overview

A tutorial explaining pointers, values, memory allocation, selector syntax, and pass-by-value behavior in Go. It compares Go's single period selector syntax with C's period and arrow operators and introduces a function example involving a pointer.

## Source excerpt

In the documentation provided by the Go language team you will find great information on pointers and memory allocation. Here is a link to that documentation: External resource on golang.org: http://golang.org/doc/faq#Pointers We need to start with the understanding that all variables contain a value. Based on the type that variable represents will determine how we can use it to manipulate the memory it contains. Read this post to learn more: Understanding Type In Go