{"id":7454,"date":"2021-03-22T13:25:27","date_gmt":"2021-03-22T13:25:27","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=7454"},"modified":"2024-04-15T07:21:20","modified_gmt":"2024-04-15T07:21:20","slug":"array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/","title":{"rendered":"Array &#038; Pointers in Golang"},"content":{"rendered":"\r\n<h2><span data-sheets-root=\"1\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;A Comprehensive Guide to Pointers in Go&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:513,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0}\">A Comprehensive Guide to Pointers in Go<\/span><\/h2>\r\n<p>&nbsp;<\/p>\r\n<p>In Go (Golang), pointers are variables that store memory addresses, pointing to the location of another value in memory. They allow indirect referencing of values, facilitating efficient memory management and enabling certain advanced programming techniques. Pointers in Go behave similarly to pointers in other languages like C and C++ but with additional safety features provided by Go&#8217;s memory management system.<\/p>\r\n<p>When declaring a pointer variable in Go, the <code>*<\/code> symbol is used before the type to indicate that the variable is a pointer to that type (e.g., <code>var ptr *int<\/code> declares a pointer to an integer). Pointers are initialized with the memory address of another variable using the <code>&amp;<\/code> operator (e.g., <code>ptr = &amp;num<\/code> assigns the address of <code>num<\/code> to <code>ptr<\/code>).<\/p>\r\n<p>Dereferencing a pointer in Go is done using the <code>*<\/code> operator (e.g., <code>*ptr<\/code> retrieves the value stored at the memory address pointed to by <code>ptr<\/code>). Go also supports pointer arithmetic, although it is generally discouraged for safety reasons.<\/p>\r\n<p>Understanding pointers in Go is crucial for tasks such as passing references to large data structures, implementing efficient data structures, and interfacing with system-level APIs. Go&#8217;s garbage collector helps manage memory automatically, reducing the risk of memory leaks often associated with manual memory management in languages like C.<\/p>\r\n<h4><strong>Prerequisites<\/strong><\/h4>\r\n\r\n\r\n\r\n<p>Hardware : Local Machine<\/p>\r\n\r\n\r\n\r\n<p>Software : <a href=\"https:\/\/prwatech.in\/blog\/software-installation\/installation-of-visual-studio-code-windows\/\" target=\"_blank\" rel=\"noreferrer noopener\" data-type=\"URL\" data-id=\"https:\/\/prwatech.in\/blog\/software-installation\/installation-of-visual-studio-code-windows\/\">VS Code<\/a>, Golang<\/p>\r\n\r\n\r\n\r\n<p>Open the VS code type the below code.<\/p>\r\n\r\n\r\n\r\n<p>Creating an array of size 5<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"403\" height=\"217\" class=\"wp-image-7463\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-26.jpg\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-26.jpg 403w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-26-300x162.jpg 300w\" sizes=\"auto, (max-width: 403px) 100vw, 403px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Output :<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7464\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1out.jpg\" alt=\"\" width=\"498\" height=\"90\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1out.jpg 371w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1out-300x54.jpg 300w\" sizes=\"auto, (max-width: 498px) 100vw, 498px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Addition operation in array<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7465\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/2-27.jpg\" alt=\"\" width=\"454\" height=\"302\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/2-27.jpg 399w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/2-27-300x200.jpg 300w\" sizes=\"auto, (max-width: 454px) 100vw, 454px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Output :<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"359\" height=\"109\" class=\"wp-image-7466\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/2out.jpg\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/2out.jpg 359w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/2out-300x91.jpg 300w\" sizes=\"auto, (max-width: 359px) 100vw, 359px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Printing array elements with its positions<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"631\" height=\"365\" class=\"wp-image-7467\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-21.jpg\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-21.jpg 631w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-21-300x174.jpg 300w\" sizes=\"auto, (max-width: 631px) 100vw, 631px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Output :<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7468\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3out.jpg\" alt=\"\" width=\"384\" height=\"226\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3out.jpg 343w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3out-300x177.jpg 300w\" sizes=\"auto, (max-width: 384px) 100vw, 384px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p><strong>Pointer<\/strong><\/p>\r\n\r\n\r\n\r\n<p>Address of a variable<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7471\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/2-28.jpg\" alt=\"\" width=\"406\" height=\"254\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Output :<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7472\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/2out-1.jpg\" alt=\"\" width=\"548\" height=\"76\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/2out-1.jpg 368w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/2out-1-300x42.jpg 300w\" sizes=\"auto, (max-width: 548px) 100vw, 548px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Assigning values through pointers<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7473\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-22.jpg\" alt=\"\" width=\"500\" height=\"401\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-22.jpg 489w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3-22-300x240.jpg 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Output :<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7474\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3out-1.jpg\" alt=\"\" width=\"528\" height=\"116\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3out-1.jpg 369w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/3out-1-300x66.jpg 300w\" sizes=\"auto, (max-width: 528px) 100vw, 528px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>The value of null pointer<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7477\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/5-19.jpg\" alt=\"\" width=\"493\" height=\"239\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/5-19.jpg 448w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/5-19-300x145.jpg 300w\" sizes=\"auto, (max-width: 493px) 100vw, 493px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Output :<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7478\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/5out.jpg\" alt=\"\" width=\"473\" height=\"113\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/5out.jpg 406w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/5out-300x72.jpg 300w\" sizes=\"auto, (max-width: 473px) 100vw, 473px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>Division using pointer<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7481\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/7-21.jpg\" alt=\"\" width=\"382\" height=\"359\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/7-21.jpg 356w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/7-21-300x282.jpg 300w\" sizes=\"auto, (max-width: 382px) 100vw, 382px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p><a href=\"https:\/\/go.dev\/\">Output<\/a> :<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"389\" height=\"95\" class=\"wp-image-7482\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/7out-1.jpg\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/7out-1.jpg 389w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/7out-1-300x73.jpg 300w\" sizes=\"auto, (max-width: 389px) 100vw, 389px\" \/><\/figure>\r\n<\/div>\r\n","protected":false},"excerpt":{"rendered":"<p>A Comprehensive Guide to Pointers in Go &nbsp; In Go (Golang), pointers are variables that store memory addresses, pointing to the location of another value in memory. They allow indirect referencing of values, facilitating efficient memory management and enabling certain advanced programming techniques. Pointers in Go behave similarly to pointers in other languages like C [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[666,1707],"tags":[676,668,812,808,815,813,669,677],"class_list":["post-7454","post","type-post","status-publish","format-standard","hentry","category-go-lang","category-golang-modules","tag-array-in-golang","tag-go","tag-go-lang-tutorial","tag-go-language","tag-go-language-ide","tag-go-language-tutorial","tag-golang","tag-pointer-in-golang"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>A Comprehensive Guide to Pointers in Go - Prwatech<\/title>\n<meta name=\"description\" content=\"Master A Comprehensive Guide to Pointers in Go - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Comprehensive Guide to Pointers in Go - Prwatech\" \/>\n<meta property=\"og:description\" content=\"Master A Comprehensive Guide to Pointers in Go - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-22T13:25:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-15T07:21:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-26.jpg\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/\",\"url\":\"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/\",\"name\":\"A Comprehensive Guide to Pointers in Go - Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-26.jpg\",\"datePublished\":\"2021-03-22T13:25:27+00:00\",\"dateModified\":\"2024-04-15T07:21:20+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Master A Comprehensive Guide to Pointers in Go - Dive deep with our expert instructors and comprehensive curriculum.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-26.jpg\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-26.jpg\",\"width\":403,\"height\":217},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Array &#038; Pointers in Golang\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A Comprehensive Guide to Pointers in Go - Prwatech","description":"Master A Comprehensive Guide to Pointers in Go - Dive deep with our expert instructors and comprehensive curriculum.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"A Comprehensive Guide to Pointers in Go - Prwatech","og_description":"Master A Comprehensive Guide to Pointers in Go - Dive deep with our expert instructors and comprehensive curriculum.","og_url":"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2021-03-22T13:25:27+00:00","article_modified_time":"2024-04-15T07:21:20+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-26.jpg","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/","url":"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/","name":"A Comprehensive Guide to Pointers in Go - Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-26.jpg","datePublished":"2021-03-22T13:25:27+00:00","dateModified":"2024-04-15T07:21:20+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Master A Comprehensive Guide to Pointers in Go - Dive deep with our expert instructors and comprehensive curriculum.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-26.jpg","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2021\/03\/1-26.jpg","width":403,"height":217},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/go-lang\/array-pointers-in-golang-a-comprehensive-guide-to-pointers-in-go\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Array &#038; Pointers in Golang"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=7454"}],"version-history":[{"count":5,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7454\/revisions"}],"predecessor-version":[{"id":11486,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/7454\/revisions\/11486"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=7454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=7454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=7454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}