<br />
<b>Warning</b>:  Undefined array key "global_protection_id" in <b>/home/wikitechy/public_html/interview-questions/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php</b> on line <b>51</b><br />
{"id":4805,"date":"2022-08-19T11:54:35","date_gmt":"2022-08-19T11:54:35","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=4805"},"modified":"2022-08-19T11:54:35","modified_gmt":"2022-08-19T11:54:35","slug":"what-is-template-in-c","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/","title":{"rendered":"What is Template in C++ ?"},"content":{"rendered":"<ul>\n<li style=\"text-align: justify;\">In C++ a template is a simple and yet very powerful tool.<\/li>\n<li style=\"text-align: justify;\">We don\u2019t need to write the same code for different data types because it is simple idea to pass data type as a parameter.<\/li>\n<li style=\"text-align: justify;\">Rather than maintaining and writing the multiple codes, we can write one sort () and pass data type as a parameter.<\/li>\n<li style=\"text-align: justify;\">At compiler time templates are expanded, hence this is like macros.<\/li>\n<li style=\"text-align: justify;\">At C++ there are two types of support templates, they are \u2018template\u2019 and \u2018typename\u2019.<\/li>\n<li style=\"text-align: justify;\">The difference is, the compiler does type checking before template expansion and the idea is source code contains only function\/class, but compiled code may contain multiple copies of same function\/class.<\/li>\n<li>Templates can be represented in two ways they are Function templates and Class templates.<\/li>\n<\/ul>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-4806 aligncenter\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C.png\" alt=\"\" width=\"1800\" height=\"835\" srcset=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C.png 1800w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C-300x139.png 300w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C-1024x475.png 1024w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C-768x356.png 768w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C-1536x713.png 1536w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C-390x181.png 390w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C-820x380.png 820w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C-1180x547.png 1180w\" sizes=\"(max-width: 1800px) 100vw, 1800px\" \/><\/p>\n<h2 id=\"function-template\">Function Template<\/h2>\n<ul>\n<li>Generic functions use the concept of function template and it defines a set of operations that can be applied to the various types of data.<\/li>\n<li>The function will operate on depends on the type of the data passed as a parameter.<\/li>\n<li>It can be implemented to an array of floats or array of integers, quick sorting algorithm is implemented using a generic function.<\/li>\n<li>Using keyword template generic function is created and template defines what function will do.<\/li>\n<\/ul>\n<h2 id=\"sample-code\">Sample Code<\/h2>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-cpp code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-cpp code-embed-code\">#include &lt;iostream&gt;  <br\/>using namespace std;  <br\/>template&lt;class T&gt; T add(T &amp;a,T &amp;b)  <br\/>{  <br\/>    T result = a+b;  <br\/>    return result;  <br\/>      <br\/>}  <br\/>int main()  <br\/>{  <br\/>  int i =2;  <br\/>  int j =3;  <br\/>  float m = 2.3;  <br\/>  float n = 1.2;  <br\/>  cout&lt;&lt;&quot;Addition of i and j is :&quot;&lt;&lt;add(i,j);  <br\/>  cout&lt;&lt;&#039;\\n&#039;;  <br\/>  cout&lt;&lt;&quot;Addition of m and n is :&quot;&lt;&lt;add(m,n);  <br\/>  return 0;  <br\/>}  <\/code><\/pre> <\/div>\n<h2 id=\"output\">Output<\/h2>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4807\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/function-template.png\" alt=\"\" width=\"1438\" height=\"207\" srcset=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/function-template.png 1438w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/function-template-300x43.png 300w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/function-template-1024x147.png 1024w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/function-template-768x111.png 768w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/function-template-390x56.png 390w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/function-template-820x118.png 820w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/function-template-1180x170.png 1180w\" sizes=\"(max-width: 1438px) 100vw, 1438px\" \/><\/p>\n<h2 id=\"class-template\">Class Template<\/h2>\n<ul>\n<li>Class template is also similar to function template.<\/li>\n<li>If class uses the concept of template, then the class is known as generic class.<\/li>\n<li>In class template Ttype is a placeholder name which will be determined when the class is instantiated.<\/li>\n<li>We can define one or more than generic data type using a comma-separated list. It can be used inside the class body.<\/li>\n<\/ul>\n<h2 id=\"sample-code-2\"><strong>Sample Code<\/strong><\/h2>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-cpp code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-cpp code-embed-code\">#include\u00a0&lt;iostream&gt;\u00a0\u00a0<br\/><br\/>using\u00a0namespace\u00a0std;\u00a0\u00a0<br\/><br\/>template&lt;class\u00a0T&gt;\u00a0\u00a0<br\/><br\/>class\u00a0A\u00a0\u00a0\u00a0<br\/><br\/>{\u00a0\u00a0<br\/><br\/>\u00a0\u00a0\u00a0\u00a0public:\u00a0\u00a0<br\/><br\/>\u00a0\u00a0\u00a0\u00a0T\u00a0num1\u00a0=\u00a05;\u00a0\u00a0<br\/><br\/>\u00a0\u00a0\u00a0\u00a0T\u00a0num2\u00a0=\u00a06;\u00a0\u00a0<br\/><br\/>\u00a0\u00a0\u00a0\u00a0void\u00a0add()\u00a0\u00a0<br\/><br\/>\u00a0\u00a0\u00a0\u00a0{\u00a0\u00a0<br\/><br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0std::cout\u00a0&lt;&lt;\u00a0&quot;Addition\u00a0of\u00a0num1\u00a0and\u00a0num2\u00a0:\u00a0&quot;\u00a0&lt;&lt;\u00a0num1+num2&lt;&lt;std::endl;\u00a0\u00a0<br\/><br\/>\u00a0\u00a0\u00a0\u00a0}\u00a0\u00a0<br\/><br\/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<br\/><br\/>};\u00a0\u00a0<br\/><br\/>\u00a0\u00a0<br\/><br\/>int\u00a0main()\u00a0\u00a0<br\/><br\/>{\u00a0\u00a0<br\/><br\/>\u00a0\u00a0\u00a0\u00a0A&lt;int&gt;\u00a0d;\u00a0\u00a0<br\/><br\/>\u00a0\u00a0\u00a0\u00a0d.add();\u00a0\u00a0<br\/><br\/>\u00a0\u00a0\u00a0\u00a0return\u00a00;\u00a0\u00a0<br\/><br\/>}\u00a0\u00a0<\/code><\/pre> <\/div>\n<h2 id=\"output-2\">Output<\/h2>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4808\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/class-template.png\" alt=\"\" width=\"1410\" height=\"144\" srcset=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/class-template.png 1410w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/class-template-300x31.png 300w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/class-template-1024x105.png 1024w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/class-template-768x78.png 768w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/class-template-390x40.png 390w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/class-template-820x84.png 820w, https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/class-template-1180x121.png 1180w\" sizes=\"(max-width: 1410px) 100vw, 1410px\" \/><\/p>\n<p style=\"text-align: justify;\">\n","protected":false},"excerpt":{"rendered":"<p>In C++ a template is a simple and yet very powerful tool. We don\u2019t need to write the same code for different data types because it is simple idea to pass data type as a parameter. Rather than maintaining and writing the multiple codes, we can write one sort () and pass data type as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"passster_activate_protection":false,"passster_protect_child_pages":"","passster_protection_type":"password","passster_password":"","passster_activate_overwrite_defaults":"","passster_headline":"","passster_instruction":"","passster_placeholder":"","passster_button":"","passster_id":"","passster_activate_misc_settings":"","passster_redirect_url":"","passster_hide":"no","passster_area_shortcode":"","gtb_hide_title":false,"gtb_wrap_title":false,"gtb_class_title":"","gtb_remove_headerfooter":false,"footnotes":""},"categories":[2080],"tags":[18442,18439,18441,18438,18444,18448,18440,18443,18447,18450,18449,18446,18451,18452,18445,18453,18454],"class_list":["post-4805","post","type-post","status-publish","format-standard","hentry","category-cpp","tag-advantages-of-templates-in-c","tag-class-templates-in-c","tag-function-template-in-c-program","tag-function-templates-in-c","tag-template-in-c","tag-template-parameters-c","tag-templates-in-c","tag-types-of-templates-in-c","tag-what-is-a-template-in-c-programming","tag-what-is-class-template-in-c-language","tag-what-is-function-template-in-c","tag-what-is-function-template-in-c-plus-plus","tag-what-is-function-template-in-c-with-example","tag-what-is-template-class-t-in-c","tag-what-is-template-in-c-plus-plus","tag-what-is-template-in-c","tag-what-is-template-in-computer"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is Template in C++ - C++ Templates - Templates in C++ with example<\/title>\n<meta name=\"description\" content=\"What is Template in C++ ? - In C++ a template is a simple and yet very powerful tool.We don\u2019t need to write the same code for different data types because it is simple idea to pass data type as a parameter.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Template in C++ - C++ Templates - Templates in C++ with example\" \/>\n<meta property=\"og:description\" content=\"What is Template in C++ ? - In C++ a template is a simple and yet very powerful tool.We don\u2019t need to write the same code for different data types because it is simple idea to pass data type as a parameter.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-19T11:54:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C.png\" \/>\n<meta name=\"author\" content=\"webmaster\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webmaster\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/\",\"name\":\"What is Template in C++ - C++ Templates - Templates in C++ with example\",\"isPartOf\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C.png\",\"datePublished\":\"2022-08-19T11:54:35+00:00\",\"dateModified\":\"2022-08-19T11:54:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4\"},\"description\":\"What is Template in C++ ? - In C++ a template is a simple and yet very powerful tool.We don\u2019t need to write the same code for different data types because it is simple idea to pass data type as a parameter.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/#primaryimage\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C.png\",\"contentUrl\":\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C.png\",\"width\":1800,\"height\":835},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4\",\"name\":\"webmaster\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g\",\"caption\":\"webmaster\"},\"sameAs\":[\"https:\/\/www.wikitechy.com\/interview-questions\"],\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/author\/webmaster\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Template in C++ - C++ Templates - Templates in C++ with example","description":"What is Template in C++ ? - In C++ a template is a simple and yet very powerful tool.We don\u2019t need to write the same code for different data types because it is simple idea to pass data type as a parameter.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/","og_locale":"en_US","og_type":"article","og_title":"What is Template in C++ - C++ Templates - Templates in C++ with example","og_description":"What is Template in C++ ? - In C++ a template is a simple and yet very powerful tool.We don\u2019t need to write the same code for different data types because it is simple idea to pass data type as a parameter.","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/","og_site_name":"Wikitechy","article_published_time":"2022-08-19T11:54:35+00:00","og_image":[{"url":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C.png"}],"author":"webmaster","twitter_card":"summary_large_image","twitter_misc":{"Written by":"webmaster","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/","name":"What is Template in C++ - C++ Templates - Templates in C++ with example","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C.png","datePublished":"2022-08-19T11:54:35+00:00","dateModified":"2022-08-19T11:54:35+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4"},"description":"What is Template in C++ ? - In C++ a template is a simple and yet very powerful tool.We don\u2019t need to write the same code for different data types because it is simple idea to pass data type as a parameter.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/cpp\/what-is-template-in-c\/#primaryimage","url":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C.png","contentUrl":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/08\/templates-C.png","width":1800,"height":835},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4","name":"webmaster","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g","caption":"webmaster"},"sameAs":["https:\/\/www.wikitechy.com\/interview-questions"],"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/webmaster\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/4805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=4805"}],"version-history":[{"count":1,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/4805\/revisions"}],"predecessor-version":[{"id":4809,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/4805\/revisions\/4809"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=4805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=4805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=4805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}