{"id":26958,"date":"2022-12-21T12:38:24","date_gmt":"2022-12-21T07:08:24","guid":{"rendered":"https:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/"},"modified":"2022-12-21T12:38:24","modified_gmt":"2022-12-21T07:08:24","slug":"solved-remove-empty-content-in-array-and-sorted-the-array-in-c","status":"publish","type":"post","link":"https:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/","title":{"rendered":"[Solved] Remove empty content in array and sorted the array in C"},"content":{"rendered":"<p> [ad_1]<br \/>\n<\/p>\n<div id=\"answer-52099592\" class=\"answer js-answer accepted-answer js-accepted-answer\" data-answerid=\"52099592\" data-parentid=\"52099463\" data-score=\"-1\" data-position-on-page=\"1\" data-highest-scored=\"0\" data-question-has-accepted-highest-score=\"0\" itemprop=\"suggestedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<div class=\"post-layout\">\n<div class=\"votecell post-layout--left\"><\/div>\n<div class=\"answercell post-layout--right\">\n<div class=\"s-prose js-post-body\" itemprop=\"text\">\n<p>So, you don&#8217;t want to sort your array after all ?<\/p>\n<p>Well, this is the code to &#8220;remove&#8221; all the zero in an array.<br \/>\nSince you changed many time your question, I don&#8217;t know if it will be the rigth answer.<\/p>\n<p>If you have question, do not hesitate.<br \/>\nThe algorithm used below is a commom algorithm : recopy the array with an offset.<\/p>\n<pre><code>#include &lt;stdio.h&gt;\n#include &lt;stdlib.h&gt;\n#include &lt;string.h&gt;\n\n\nvoid Array_Display(const int * const array, const size_t size)\n{\n    for (size_t i = 0; i &lt; size; ++i) {\n        printf(\"%d\", array[i]);\n        if (i + 1 &lt; size) {\n            printf(\", \");\n        }\n    }\n    printf(\"\\n\");\n}\n\nvoid Array_MagicFunction(int * const array, size_t *size)\n{\n    size_t j = 0;\n\n    for (size_t i = 0; i &lt; *size; ++i) {\n        if (array[i] != 0) {\n            array[j] = array[i];\n            ++j;\n        }\n    }\n    *size = j;\n}\n\n#define ARRAY_SIZE 10\n\nint main(void)\n{\n    int    array[ARRAY_SIZE] = {1,2,513,0,4,5,6,0,0,9};\n    size_t size              = ARRAY_SIZE;\n\n\n    Array_Display(array, size);\n\n    Array_MagicFunction(array, &amp;size);\n\n    Array_Display(array, size);\n\n    return (EXIT_SUCCESS);\n}\n<\/code><\/pre>\n<p>I keep my first answer in case you still want to sort your array.<\/p>\n<h2>&#8212;&#8212;&#8212;-<\/h2>\n<p>Edit : Attention please.<br \/>\nThe provided code below doesn&#8217;t work for Jackdon for some mysterious reasons.<br \/>\nIt seem that his implementation of qsort is bugged (which is really surprising consedering a bug in a massive used function is higlhy improbable) : even when the function return the correct value, the array is not sorted &#8230;<\/p>\n<p>I don&#8217;t understand what&#8217;s going on, I&#8217;m pretty sure that my code is correct (and it work on Debian9), so I just put some poor &#8220;debugging&#8221;.<br \/>\nJackdon environment is the following :<\/p>\n<ul>\n<li>Windows 10<\/li>\n<li>Microsoft Visual Studio 2017 Community<\/li>\n<li>the compile setting is follow default<\/li>\n<\/ul>\n<hr>\n<p>Tom&#8217;s To Jackdon :<\/p>\n<blockquote>\n<p>Could you please replace the intcmp function with this ?<\/p>\n<pre><code>int intcmp(const void *first, const void *second)\n{\n    const int *firstInt = first;\n    const int *secondInt = second;\n    int       result;\n\n    if (*firstInt == 0) {\n        result = 1;\n    } else {\n        result = (*firstInt) - (*secondInt);\n    }\n\n    printf(\"POOR DEBUG : \");\n    for (size_t i = 0 ; i &lt; ARRAY_SIZE; ++i) {\n        printf(\"%d \", array[i]);\n    }\n    printf(\"\\ncomparing %d to %d : %d\\n\", *firstInt, *secondInt, result);\n\n    return (result);\n}\n<\/code><\/pre>\n<\/blockquote>\n<hr>\n<p>Jackdon To Tom&#8217;s<\/p>\n<blockquote>\n<pre><code>POOR DEBUG : 1 2 3 0 4 5 6 0 0 9\ncomparing 1 to 5 : -4\nPOOR DEBUG : 1 2 3 0 4 5 6 0 0 9\ncomparing 1 to 9 : -8\nPOOR DEBUG : 1 2 3 0 4 5 6 0 0 9\ncomparing 5 to 9 : -4\nPOOR DEBUG : 1 2 3 0 4 5 6 0 0 9\ncomparing 2 to 5 : -3\nPOOR DEBUG : 1 2 3 0 4 5 6 0 0 9\ncomparing 3 to 5 : -2\nPOOR DEBUG : 1 2 3 0 4 5 6 0 0 9\ncomparing 0 to 5 : 1\nPOOR DEBUG : 1 2 3 0 4 5 6 0 0 9\ncomparing 0 to 5 : 1\nPOOR DEBUG : 1 2 3 0 4 5 6 0 0 9\ncomparing 0 to 5 : 1\nPOOR DEBUG : 1 2 3 0 4 5 6 0 0 9\ncomparing 6 to 5 : 1\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 4 to 5 : -1\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 0 to 5 : 1\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 4 to 5 : -1\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 4 to 5 : -1\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 6 to 0 : 6\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 0 to 6 : 1\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 0 to 0 : 1\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 9 to 0 : 9\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 6 to 0 : 6\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 0 to 6 : 1\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 0 to 0 : 1\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 6 to 0 : 6\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 0 to 6 : 1\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 6 to 0 : 6\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 2 to 1 : 1\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 3 to 2 : 1\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 5 to 3 : 2\nPOOR DEBUG : 1 2 3 5 4 0 6 0 0 9\ncomparing 4 to 5 : -1\nPOOR DEBUG : 1 2 3 4 5 0 6 0 0 9\ncomparing 2 to 1 : 1\nPOOR DEBUG : 1 2 3 4 5 0 6 0 0 9\ncomparing 3 to 2 : 1\nPOOR DEBUG : 1 2 3 4 5 0 6 0 0 9\ncomparing 4 to 3 : 1\nPOOR DEBUG : 1 2 3 4 5 0 6 0 0 9\ncomparing 2 to 1 : 1\nPOOR DEBUG : 1 2 3 4 5 0 6 0 0 9\ncomparing 3 to 2 : 1\nPOOR DEBUG : 1 2 3 4 5 0 6 0 0 9\ncomparing 2 to 1 : 1\n1 2 3 4 5 0 6 0 0 9\n<\/code><\/pre>\n<\/blockquote>\n<h2>&#8212;&#8212;&#8212;-<\/h2>\n<p>Use qsort.<\/p>\n<pre><code>#include &lt;stdio.h&gt;\n#include &lt;stdlib.h&gt;\n#include &lt;string.h&gt;\n\nint intcmp(const void *first, const void *second)\n{\n    const int *firstInt = first;\n    const int *secondInt = second;\n\n    if (*firstInt == 0) {\n        return (1);\n    }\n    return (*firstInt - *secondInt);\n}\n\n#define ARRAY_SIZE 10\n\nint main(void)\n{\n    int array[ARRAY_SIZE] = {1,2,3,0,4,5,6,0,0,9};\n\n    qsort(array, ARRAY_SIZE, sizeof(*array), intcmp);\n\n    for (size_t i = 0 ; i &lt; ARRAY_SIZE; ++i) {\n        printf(\"%d \", array[i]);\n    }\n    printf(\"\\n\");\n\n    return (EXIT_SUCCESS);\n}\n<\/code><\/pre>\n<p>The &#8220;removing zero&#8221; part is handled by putting all zero at the end of the array. So your final array length will simply be found by searching the index of the first zero in the array (don&#8217;t forget to take care if there is no 0 is the array to begin with).<\/p>\n<\/p><\/div>\n<div class=\"mt24\"><\/div>\n<\/div>\n<p>            <span class=\"d-none\" itemprop=\"commentCount\">8<\/span> <\/p><\/div>\n<\/div>\n<p>[ad_2]<\/p>\n<p>solved Remove empty content in array and sorted the array in C <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] So, you don&#8217;t want to sort your array after all ? Well, this is the code to &#8220;remove&#8221; all the zero in an array. Since you changed many time your question, I don&#8217;t know if it will be the rigth answer. If you have question, do not hesitate. The algorithm used below is a &#8230; <a title=\"[Solved] Remove empty content in array and sorted the array in C\" class=\"read-more\" href=\"https:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/\" aria-label=\"More on [Solved] Remove empty content in array and sorted the array in C\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[320],"tags":[324],"class_list":["post-26958","post","type-post","status-publish","format-standard","hentry","category-solved","tag-c"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[Solved] Remove empty content in array and sorted the array in C - JassWeb<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Solved] Remove empty content in array and sorted the array in C - JassWeb\" \/>\n<meta property=\"og:description\" content=\"[ad_1] So, you don&#8217;t want to sort your array after all ? Well, this is the code to &#8220;remove&#8221; all the zero in an array. Since you changed many time your question, I don&#8217;t know if it will be the rigth answer. If you have question, do not hesitate. The algorithm used below is a ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/\" \/>\n<meta property=\"og:site_name\" content=\"JassWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-21T07:08:24+00:00\" \/>\n<meta name=\"author\" content=\"Kirat\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kirat\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\\\/\"},\"author\":{\"name\":\"Kirat\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#\\\/schema\\\/person\\\/65c9c7b7958150c0dc8371fa35dd7c31\"},\"headline\":\"[Solved] Remove empty content in array and sorted the array in C\",\"datePublished\":\"2022-12-21T07:08:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\\\/\"},\"wordCount\":274,\"publisher\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#organization\"},\"keywords\":[\"c++\"],\"articleSection\":[\"Solved\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\\\/\",\"url\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\\\/\",\"name\":\"[Solved] Remove empty content in array and sorted the array in C - JassWeb\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#website\"},\"datePublished\":\"2022-12-21T07:08:24+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Solved] Remove empty content in array and sorted the array in C\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#website\",\"url\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/\",\"name\":\"JassWeb\",\"description\":\"Build High-quality Websites\",\"publisher\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#organization\",\"name\":\"Jass Web\",\"url\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/jassweb.com\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/jass-website-logo-1.png\",\"contentUrl\":\"https:\\\/\\\/jassweb.com\\\/wp-content\\\/uploads\\\/2021\\\/02\\\/jass-website-logo-1.png\",\"width\":693,\"height\":132,\"caption\":\"Jass Web\"},\"image\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#\\\/schema\\\/person\\\/65c9c7b7958150c0dc8371fa35dd7c31\",\"name\":\"Kirat\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/wp-content\\\/litespeed\\\/avatar\\\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777613206\",\"url\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/wp-content\\\/litespeed\\\/avatar\\\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777613206\",\"contentUrl\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/wp-content\\\/litespeed\\\/avatar\\\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777613206\",\"caption\":\"Kirat\"},\"sameAs\":[\"http:\\\/\\\/jassweb.com\"],\"url\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/author\\\/jaspritsinghghumangmail-com\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Solved] Remove empty content in array and sorted the array in C - JassWeb","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:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/","og_locale":"en_US","og_type":"article","og_title":"[Solved] Remove empty content in array and sorted the array in C - JassWeb","og_description":"[ad_1] So, you don&#8217;t want to sort your array after all ? Well, this is the code to &#8220;remove&#8221; all the zero in an array. Since you changed many time your question, I don&#8217;t know if it will be the rigth answer. If you have question, do not hesitate. The algorithm used below is a ... Read more","og_url":"https:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/","og_site_name":"JassWeb","article_published_time":"2022-12-21T07:08:24+00:00","author":"Kirat","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirat","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/#article","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/"},"author":{"name":"Kirat","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31"},"headline":"[Solved] Remove empty content in array and sorted the array in C","datePublished":"2022-12-21T07:08:24+00:00","mainEntityOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/"},"wordCount":274,"publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"keywords":["c++"],"articleSection":["Solved"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/","url":"https:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/","name":"[Solved] Remove empty content in array and sorted the array in C - JassWeb","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/#website"},"datePublished":"2022-12-21T07:08:24+00:00","breadcrumb":{"@id":"https:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jassweb.com\/solved\/solved-remove-empty-content-in-array-and-sorted-the-array-in-c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jassweb.com\/solved\/"},{"@type":"ListItem","position":2,"name":"[Solved] Remove empty content in array and sorted the array in C"}]},{"@type":"WebSite","@id":"https:\/\/jassweb.com\/solved\/#website","url":"https:\/\/jassweb.com\/solved\/","name":"JassWeb","description":"Build High-quality Websites","publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jassweb.com\/solved\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jassweb.com\/solved\/#organization","name":"Jass Web","url":"https:\/\/jassweb.com\/solved\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/","url":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","contentUrl":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","width":693,"height":132,"caption":"Jass Web"},"image":{"@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31","name":"Kirat","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777613206","url":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777613206","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777613206","caption":"Kirat"},"sameAs":["http:\/\/jassweb.com"],"url":"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/"}]}},"_links":{"self":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/26958","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/comments?post=26958"}],"version-history":[{"count":0,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/26958\/revisions"}],"wp:attachment":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/media?parent=26958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/categories?post=26958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/tags?post=26958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}