{"id":214,"date":"2020-07-18T09:25:19","date_gmt":"2020-07-18T09:25:19","guid":{"rendered":"\/?p=214"},"modified":"2022-04-13T05:35:16","modified_gmt":"2022-04-13T05:35:16","slug":"extended-concept-of-pointer","status":"publish","type":"post","link":"http:\/\/suryaprakash.com.np\/?p=214","title":{"rendered":"Extended Concept of Pointer"},"content":{"rendered":"<p><code>\/\/pointer <\/code><br \/>\n<code>#include&lt;stdio.h&gt;<\/code><br \/>\n<code>void main()<\/code><br \/>\n<code>{<\/code><br \/>\n<code>int a, *b, **c, ***d;<\/code><br \/>\n<code>a=2000;<\/code><br \/>\n<code>b=&amp;a;<\/code><br \/>\n<code>c=&amp;b;<\/code><br \/>\n<code>d=&amp;c;<\/code><br \/>\n<code>printf(\"%d\\t%d\\t%d\\t%d\",a,b,c,d);<\/code><br \/>\n<code>}<\/code><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-medium wp-image-215\" src=\"\/wp-content\/uploads\/2020\/07\/pointer1-300x70.png\" alt=\"\" width=\"300\" height=\"70\" srcset=\"\/wp-content\/uploads\/2020\/07\/pointer1-300x70.png 300w, \/wp-content\/uploads\/2020\/07\/pointer1.png 460w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p style=\"text-align: justify;\">Here &#8216;<strong>a<\/strong>&#8216; is simple integer variable.While<strong> b, c <\/strong>and<strong> d<\/strong> is Pointer integer variables of different level.\u00a0 That is,<\/p>\n<p style=\"text-align: justify;\"><strong>b<\/strong> is a pointer to an integer<\/p>\n<p style=\"text-align: justify;\"><strong>c<\/strong> is a pointer to a pointer to a pointer to an integer.<\/p>\n<p style=\"text-align: justify;\"><strong>d<\/strong> is\u00a0 a pointer to a pointer to a pointer to a pointer to an integer.<\/p>\n<p style=\"text-align: justify;\">Which is called <strong>extended concept<\/strong> of Pointer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/\/pointer #include&lt;stdio.h&gt; void main() { int a, *b, **c, ***d; a=2000; b=&amp;a; c=&amp;b; d=&amp;c; printf(&#8220;%d\\t%d\\t%d\\t%d&#8221;,a,b,c,d); } Here &#8216;a&#8216; is simple &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/posts\/214"}],"collection":[{"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=214"}],"version-history":[{"count":3,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/posts\/214\/revisions"}],"predecessor-version":[{"id":250,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/posts\/214\/revisions\/250"}],"wp:attachment":[{"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=214"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}