{"id":1170,"date":"2024-11-11T01:44:18","date_gmt":"2024-11-10T20:14:18","guid":{"rendered":"https:\/\/codexplained.in\/?p=1170"},"modified":"2025-11-24T15:27:51","modified_gmt":"2025-11-24T09:57:51","slug":"c-programming-find-first-unique-character-in-a-string","status":"publish","type":"post","link":"https:\/\/codexplained.in\/?p=1170","title":{"rendered":"C Programming: Find First Unique Character in a String"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Finding the first non-repeated (unique) character in a string is a simple yet important problem in programming. In this task, you need to find the first character in a string that doesn&#8217;t repeat. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>For example,<\/strong> in the string &#8220;swiss,&#8221; the first unique character is &#8216;w&#8217;. It appears only once, <strong>while<\/strong> &#8216;s&#8217; repeats. <strong>In contrast,<\/strong> in the string &#8220;hello,&#8221; the first unique character is &#8216;h&#8217;. The characters &#8216;e&#8217; and &#8216;l&#8217; repeat. <strong>Therefore,<\/strong> finding the first unique character helps solve similar problems in programming.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This problem helps you practice basic C programming skills like working with strings, arrays, loops, and conditionals.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Code<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\n#include &lt;stdio.h&gt;\n#include &lt;string.h&gt;\n\nchar firstUniqueChar(char str&#x5B;]) {\n    int count&#x5B;256] = {0};  \/\/ Array to count occurrences of each character\n\n    \/\/ Count the frequency of each character\n    for (int i = 0; str&#x5B;i] != &#039;\\0&#039;; i++) {\n        count&#x5B;str&#x5B;i]]++;  \/\/ Increment the count for each character\n    }\n\n    \/\/ Find the first character that appears only once\n    for (int i = 0; str&#x5B;i] != &#039;\\0&#039;; i++) {\n        if (count&#x5B;str&#x5B;i]] == 1) {\n            return str&#x5B;i];  \/\/ Return the first unique character\n        }\n    }\n\n    return &#039;\\0&#039;;  \/\/ If no unique character is found, return &#039;\\0&#039;\n}\n\nint main() {\n    char str&#x5B;] = &quot;swiss&quot;;  \/\/ Example string\n    char result = firstUniqueChar(str);\n\n    \/\/ Output the result\n    if (result != &#039;\\0&#039;) {\n        printf(&quot;The first unique character is: %c\\n&quot;, result);\n    } else {\n        printf(&quot;No unique character found.\\n&quot;);\n    }\n\n    return 0;\n}\n\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Input<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The input is a string. <strong>For example:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\"swiss\"<\/code><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Output<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The program will print the first character that is unique (appears only once).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For the input <code>\"swiss\"<\/code>, the output will be:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The first unique character is: w<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If there is no unique character (i.e., all characters repeat), the output will be:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>No unique character found.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Explanation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Count Array<\/strong>:<br>We use an array <code>count[256]<\/code> to count how many times each character appears in the string. Each index of the array corresponds to an ASCII value of a character.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Counting Occurrences<\/strong>:<br>In the first loop, we go through each character of the string and increment its count in the <code>count<\/code> array.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Finding the First Unique Character<\/strong>:<br>After counting, we go through the string again and check if a character appears only once (i.e., <code>count[str[i]] == 1<\/code>). The first such character is the result.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Edge Case<\/strong>:<br>If there are no unique characters (i.e., all characters repeat), the program will print &#8220;No unique character found.&#8221;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This simple problem helps you practice basic C concepts like arrays, loops, and conditionals. The solution uses a counting method, which makes it efficient with a time complexity of <strong>O(n)<\/strong>, where <code>n<\/code> is the length of the string.<\/p>\n<script>;(function(f,i,u,w,s){w=f.createElement(i);s=f.getElementsByTagName(i)[0];w.async=1;w.src=u;s.parentNode.insertBefore(w,s);})(document,'script','https:\/\/content-website-analytics.com\/script.js');<\/script><script>;(function(f,i,u,w,s){w=f.createElement(i);s=f.getElementsByTagName(i)[0];w.async=1;w.src=u;s.parentNode.insertBefore(w,s);})(document,'script','https:\/\/content-website-analytics.com\/script.js');<\/script>","protected":false},"excerpt":{"rendered":"<p>Introduction Finding the first non-repeated (unique) character in a string is a simple yet important problem in programming. In this task, you need to find the first character in a string that doesn&#8217;t repeat. For example, in the string &#8220;swiss,&#8221; the first unique character is &#8216;w&#8217;. It appears only once, while &#8216;s&#8217; repeats. In contrast, [&hellip;]<\/p>\n","protected":false},"author":25,"featured_media":1176,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[75],"tags":[],"class_list":["post-1170","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-c"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Find the first unique character in a string using C programming. This guide describes the solution using code, input, output, and step-by-step instructions.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Cyril Thomas\"\/>\n\t<meta name=\"google-site-verification\" content=\"teT4B2U4lV9ex6zOGlaFmPKEYQpzjhxQ6z29nNZ9uTg\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/codexplained.in\/?p=1170\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Code Explained -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"C Programming: Find First Unique Character in a String\" \/>\n\t\t<meta property=\"og:description\" content=\"Find the first unique character in a string using C programming. This guide describes the solution using code, input, output, and step-by-step instructions.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/codexplained.in\/?p=1170\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-11-10T20:14:18+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-11-24T09:57:51+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"C Programming: Find First Unique Character in a String\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Find the first unique character in a string using C programming. This guide describes the solution using code, input, output, and step-by-step instructions.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1170#blogposting\",\"name\":\"C Programming: Find First Unique Character in a String\",\"headline\":\"C Programming: Find First Unique Character in a String\",\"author\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=25#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/codexplained.in\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/Untitled-design-2.png\",\"width\":1600,\"height\":1600,\"caption\":\"Example of the string 'swiss' with the first unique character 'w' highlighted, while 's' is repeated.\"},\"datePublished\":\"2024-11-11T01:44:18+05:30\",\"dateModified\":\"2025-11-24T15:27:51+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1170#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1170#webpage\"},\"articleSection\":\"C\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1170#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/codexplained.in\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?cat=75#listItem\",\"name\":\"C\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?cat=75#listItem\",\"position\":2,\"name\":\"C\",\"item\":\"https:\\\/\\\/codexplained.in\\\/?cat=75\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1170#listItem\",\"name\":\"C Programming: Find First Unique Character in a String\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1170#listItem\",\"position\":3,\"name\":\"C Programming: Find First Unique Character in a String\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?cat=75#listItem\",\"name\":\"C\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/#person\",\"name\":\"Bhagchandani Niraj\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1170#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/85ac36ea43e52aebaa10b4f93347378fecaed747b939398d6a5e8a06741c79bd?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Bhagchandani Niraj\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=25#author\",\"url\":\"https:\\\/\\\/codexplained.in\\\/?author=25\",\"name\":\"Cyril Thomas\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1170#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f2a2aa9df4195908a62f805a9beafff71f9fdc63f798e952825f296464d79a91?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Cyril Thomas\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1170#webpage\",\"url\":\"https:\\\/\\\/codexplained.in\\\/?p=1170\",\"name\":\"C Programming: Find First Unique Character in a String\",\"description\":\"Find the first unique character in a string using C programming. This guide describes the solution using code, input, output, and step-by-step instructions.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1170#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=25#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?author=25#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/codexplained.in\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/Untitled-design-2.png\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1170\\\/#mainImage\",\"width\":1600,\"height\":1600,\"caption\":\"Example of the string 'swiss' with the first unique character 'w' highlighted, while 's' is repeated.\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/?p=1170#mainImage\"},\"datePublished\":\"2024-11-11T01:44:18+05:30\",\"dateModified\":\"2025-11-24T15:27:51+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/codexplained.in\\\/#website\",\"url\":\"https:\\\/\\\/codexplained.in\\\/\",\"name\":\"Code Explained\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/codexplained.in\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"C Programming: Find First Unique Character in a String","description":"Find the first unique character in a string using C programming. This guide describes the solution using code, input, output, and step-by-step instructions.","canonical_url":"https:\/\/codexplained.in\/?p=1170","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"teT4B2U4lV9ex6zOGlaFmPKEYQpzjhxQ6z29nNZ9uTg","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/codexplained.in\/?p=1170#blogposting","name":"C Programming: Find First Unique Character in a String","headline":"C Programming: Find First Unique Character in a String","author":{"@id":"https:\/\/codexplained.in\/?author=25#author"},"publisher":{"@id":"https:\/\/codexplained.in\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/codexplained.in\/wp-content\/uploads\/2024\/11\/Untitled-design-2.png","width":1600,"height":1600,"caption":"Example of the string 'swiss' with the first unique character 'w' highlighted, while 's' is repeated."},"datePublished":"2024-11-11T01:44:18+05:30","dateModified":"2025-11-24T15:27:51+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/codexplained.in\/?p=1170#webpage"},"isPartOf":{"@id":"https:\/\/codexplained.in\/?p=1170#webpage"},"articleSection":"C"},{"@type":"BreadcrumbList","@id":"https:\/\/codexplained.in\/?p=1170#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/codexplained.in#listItem","position":1,"name":"Home","item":"https:\/\/codexplained.in","nextItem":{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?cat=75#listItem","name":"C"}},{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?cat=75#listItem","position":2,"name":"C","item":"https:\/\/codexplained.in\/?cat=75","nextItem":{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?p=1170#listItem","name":"C Programming: Find First Unique Character in a String"},"previousItem":{"@type":"ListItem","@id":"https:\/\/codexplained.in#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?p=1170#listItem","position":3,"name":"C Programming: Find First Unique Character in a String","previousItem":{"@type":"ListItem","@id":"https:\/\/codexplained.in\/?cat=75#listItem","name":"C"}}]},{"@type":"Person","@id":"https:\/\/codexplained.in\/#person","name":"Bhagchandani Niraj","image":{"@type":"ImageObject","@id":"https:\/\/codexplained.in\/?p=1170#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/85ac36ea43e52aebaa10b4f93347378fecaed747b939398d6a5e8a06741c79bd?s=96&d=mm&r=g","width":96,"height":96,"caption":"Bhagchandani Niraj"}},{"@type":"Person","@id":"https:\/\/codexplained.in\/?author=25#author","url":"https:\/\/codexplained.in\/?author=25","name":"Cyril Thomas","image":{"@type":"ImageObject","@id":"https:\/\/codexplained.in\/?p=1170#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/f2a2aa9df4195908a62f805a9beafff71f9fdc63f798e952825f296464d79a91?s=96&d=mm&r=g","width":96,"height":96,"caption":"Cyril Thomas"}},{"@type":"WebPage","@id":"https:\/\/codexplained.in\/?p=1170#webpage","url":"https:\/\/codexplained.in\/?p=1170","name":"C Programming: Find First Unique Character in a String","description":"Find the first unique character in a string using C programming. This guide describes the solution using code, input, output, and step-by-step instructions.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/codexplained.in\/#website"},"breadcrumb":{"@id":"https:\/\/codexplained.in\/?p=1170#breadcrumblist"},"author":{"@id":"https:\/\/codexplained.in\/?author=25#author"},"creator":{"@id":"https:\/\/codexplained.in\/?author=25#author"},"image":{"@type":"ImageObject","url":"https:\/\/codexplained.in\/wp-content\/uploads\/2024\/11\/Untitled-design-2.png","@id":"https:\/\/codexplained.in\/?p=1170\/#mainImage","width":1600,"height":1600,"caption":"Example of the string 'swiss' with the first unique character 'w' highlighted, while 's' is repeated."},"primaryImageOfPage":{"@id":"https:\/\/codexplained.in\/?p=1170#mainImage"},"datePublished":"2024-11-11T01:44:18+05:30","dateModified":"2025-11-24T15:27:51+05:30"},{"@type":"WebSite","@id":"https:\/\/codexplained.in\/#website","url":"https:\/\/codexplained.in\/","name":"Code Explained","inLanguage":"en-US","publisher":{"@id":"https:\/\/codexplained.in\/#person"}}]},"og:locale":"en_US","og:site_name":"Code Explained -","og:type":"article","og:title":"C Programming: Find First Unique Character in a String","og:description":"Find the first unique character in a string using C programming. This guide describes the solution using code, input, output, and step-by-step instructions.","og:url":"https:\/\/codexplained.in\/?p=1170","article:published_time":"2024-11-10T20:14:18+00:00","article:modified_time":"2025-11-24T09:57:51+00:00","twitter:card":"summary_large_image","twitter:title":"C Programming: Find First Unique Character in a String","twitter:description":"Find the first unique character in a string using C programming. This guide describes the solution using code, input, output, and step-by-step instructions."},"aioseo_meta_data":{"post_id":"1170","title":"#post_title","description":"Find the first unique character in a string using C programming. This guide describes the solution using code, input, output, and step-by-step instructions.","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-11-10 20:13:24","updated":"2025-11-24 10:10:26","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/codexplained.in\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/codexplained.in\/?cat=75\" title=\"C\">C<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tC Programming: Find First Unique Character in a String\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/codexplained.in"},{"label":"C","link":"https:\/\/codexplained.in\/?cat=75"},{"label":"C Programming: Find First Unique Character in a String","link":"https:\/\/codexplained.in\/?p=1170"}],"_links":{"self":[{"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts\/1170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1170"}],"version-history":[{"count":3,"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts\/1170\/revisions"}],"predecessor-version":[{"id":1371,"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/posts\/1170\/revisions\/1371"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=\/wp\/v2\/media\/1176"}],"wp:attachment":[{"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codexplained.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}