{"id":18906,"date":"2022-11-02T08:19:07","date_gmt":"2022-11-02T02:49:07","guid":{"rendered":"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/"},"modified":"2022-11-02T08:19:07","modified_gmt":"2022-11-02T02:49:07","slug":"solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate","status":"publish","type":"post","link":"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/","title":{"rendered":"[Solved] What are the differences between: main(){}, int main(){} and int main(void){} [duplicate]"},"content":{"rendered":"<p> [ad_1]<br \/>\n<\/p>\n<div id=\"answer-19584634\" class=\"answer js-answer accepted-answer js-accepted-answer\" data-answerid=\"19584634\" data-parentid=\"19583480\" data-score=\"2\" data-position-on-page=\"2\" 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>Your first example\u3000uses a feature inherited from the outdated dialect of C which predated the first ANSI(1989) and ISO(1990) standard: namely, that you can write a function which doesn&#8217;t specify its return type, and in that case the type defaults to <code>int<\/code>. <\/p>\n<p>In early C, the <code>void<\/code> keyword and associated type did not exist. When programmers wanted to write procedures (&#8220;functions that have a side effect, but do not return anything&#8221;), they simulated it using this feature. They wrote a function without any keyword specifying the return type. They allowed the function to execute to it last statement without returning a value (or alternatively, they used <code>return;<\/code> to exit from the middle without supplying a value), and they wrote the calls to the function such that those calls did not try to use the return value:<\/p>\n<pre><code>parse_input() \/* similar to a procedure in Pascal, but fake! *\/\n{\n   \/* ... *\/\n   if (condition())\n     return; \/* no value *\/\n   \/* ... *\/\n   \/* fall off end here *\/\n}\n\nint main()\n{\n   parse_input(); \/* no return value extracted, everything cool! *\/\n   return 0;\n}\n<\/code><\/pre>\n<p>Unfortunately, some programmers also started not caring about the termination status of a program and writing <code>main<\/code> itself in this procedure style:<\/p>\n<pre><code>main()\n{\n  \/* do something *\/\n  \/* fall off the end without returning a value *\/\n}\n<\/code><\/pre>\n<p>(A mixed style also existed: omitting the <code>int<\/code> declarator but returning an integer value.)<\/p>\n<p>These programs failing to return a value had an indeterminate termination status. To the operating system, their execution could look successful or failed. <em>Woe to the script writer who tried to depend on the termination status of such a program!<\/em><\/p>\n<p>Then things took a turn for the worse. C++ came along and introduced <code>void<\/code>, and it was adopted into C. With the <code>void<\/code> keyword in C++, one could declare a function that actually returns nothing (and make it an error to have a <code>return;<\/code> statement in any other kind of function). The dummy programmers who used to write <code>main<\/code> with no return type got dumber, and started sticking this new-fangled, fresh-out-of-C++ <code>void<\/code> in front:<\/p>\n<pre><code>void main() \/* yikes! *\/\n{\n  \/* do something *\/\n  \/* fall off the end without returning a value *\/\n}\n<\/code><\/pre>\n<p>By this time they had forgotten that when they wrote <code>main()<\/code>, it actually meant <code>int main()<\/code>, which made the function have a compatible type with the startup call invoked by the environment (except for the matter of neglecting to return a value). Now they actually had a different function type from the expected one, which might not even be successfully called!<\/p>\n<p>Where things stand now is that in C++ and in the latest C++ standard, <code>main<\/code> is still required to return an <code>int<\/code>. But both languages make a concession for the original dummy programmers: you can let execution &#8220;fall off&#8221; the end of <code>main<\/code> and the behavior is as if <code>return 0;<\/code> had been executed there. So this trivial program now has a successful termination status as of C99 and, I think, C++98 (or possibly earlier):<\/p>\n<pre><code>int main()\n{\n}\n<\/code><\/pre>\n<p>But neither language makes a concession for the second-generation dumber programmers (and everyone else who read the C books that those programmers wrote in the 1980&#8217;s and since). That is, <code>void<\/code> is not a valid return declarator for <code>main<\/code> (except where it is documented by platforms as being accepted, and that applies to those platforms only, not to the portable language).<\/p>\n<p>Oh, and allowance for the missing declarator was removed from C in C99, so <code>main() { }<\/code> is no longer correct in new dialects of C, and isn&#8217;t valid C++. Incidentally, C++ does have such a syntax elsewhere: namely, class constructors and destructors are required not to have a return type specifier. <\/p>\n<p>Okay, now about <code>()<\/code> versus <code>(void)<\/code>. Recall that C++ introduced <code>void<\/code>. Furthermore, though C++ introduced <code>void<\/code>, it did not introduce the <code>(void)<\/code> argument syntax. C++ being more rigidly typed introduced prototype declarations, and banished the concept of an unprototyped function.  C++ changed the meaning of the <code>()<\/code> C syntax to give it the power to declare. In C++, <code>int func();<\/code> declares a function with no arguments, whereas in C, <code>int func();<\/code> doesn&#8217;t do such a thing: it declares a function about which we do not know the argument information. When C adopted <code>void<\/code>, the committee had an ugly idea: why don&#8217;t we use the syntax <code>(void)<\/code> to declare a function with no arguments and then the <code>()<\/code> syntax can stay backward compatible with the loosey-goosey legacy behavior pandering to typeless programming.   <\/p>\n<p>You can guess what happened next: the C++ people looked at this <code>(void)<\/code> hack, threw up their arms and copied it into C++ for the sake of cross-language compatibility. Which in hindsight is amazing when you look at how the languages have diverged today and basically no longer care about compatibility to that extent. So <code>(void)<\/code> unambiguosly means &#8220;declare as having no arguments&#8221;, in both C and C++. But using it in C++ code that is obviously pure C++ never intended to be C is ugly, and poor style: for instance, on class member functions! It doesn&#8217;t make much sense to write things like <code>class Foo { public: Foo(void); virtual ~Foo(void) \/*...*\/ };<\/code><\/p>\n<p>Of course, when you <strong>define<\/strong> a function like <code>int main() { ... }<\/code>, the function which is defined has no arguments, regardless of which language it is in. The difference is in what declaration info is introduced into the scope. In C we can have the absurd situation that a function can be fully defined, and yet not declared, in the same unit of program text!<\/p>\n<p>When we write <code>main<\/code>, usually it is not called from within the program, and so it doesn&#8217;t <em>matter<\/em> what the definition declares. (In C++, <code>main<\/code> must not be called from the program; in C it can be). So it is immaterial whether you write <code>int main()<\/code> or <code>int main(void)<\/code>, regardless of whether you&#8217;re using C or C++. The thing which calls <code>main<\/code> does not see any declaration of it (that you write in your program, anyway).<\/p>\n<p>So just keep in mind that if you write:<\/p>\n<pre><code>int main()  \/* rather than main(void) *\/\n{ \n}\n<\/code><\/pre>\n<p>then although it is perfect C++ and correct C, as C it has a slight stylistic blemish: you&#8217;re writing an old-style pre-ANSI-C function that doesn&#8217;t serve as a prototype. Though it doesn&#8217;t functionally matter in the case of <code>main<\/code>, you may get a warning if you use some compilers in a certain way. For instance, GCC, with the <code>-Wstrict-prototypes<\/code> option:<\/p>\n<pre><code>test.c:1:5: warning: function declaration isn\u2019t a prototype [-Wstrict-prototypes]\n<\/code><\/pre>\n<p>Because <code>-Wstrict-prototypes<\/code> is a darn useful warning to turn on when programming in C, for improved type safety, (along with <code>-Wmissing-prototypes<\/code>), and we strive to eliminate warnings from our compile jobs, it behooves us to write:<\/p>\n<pre><code>int main(void) \/* modern C definition which prototypes the function *\/\n{\n}\n<\/code><\/pre>\n<p>which will make that diagnostic go away.<\/p>\n<p>If you want <code>main<\/code> to accept arguments, then it is <code>int main(int argc, char **argv)<\/code> where the parameter names are up to you. <\/p>\n<p>In C++, you can omit parameter names, so this definition is possible, which serves nicely in the place of <code>main()<\/code>.<\/p>\n<pre><code>int main(int, char **) \/\/ both arguments ignored: C++ only\n{\n}\n<\/code><\/pre>\n<p>Since the argument vector is null-pointer-terminated, you don&#8217;t need <code>argc<\/code>, and C++ lets us express that without introducing an unused variable:<\/p>\n<pre><code>#include &lt;cstdio&gt;\n\nint main(int, char **argv)  \/\/ omitted param name: C++ only\n{\n  \/\/ dump the arguments\n  while (*argv)\n    std::puts(*argv++);\n}\n<\/code><\/pre>\n<\/p><\/div>\n<div class=\"mt24\"><\/div>\n<\/div>\n<p>            <span class=\"d-none\" itemprop=\"commentCount\">2<\/span> <\/p><\/div>\n<\/div>\n<p>[ad_2]<\/p>\n<p>solved What are the differences between: main(){}, int main(){} and int main(void){} [duplicate] <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] Your first example\u3000uses a feature inherited from the outdated dialect of C which predated the first ANSI(1989) and ISO(1990) standard: namely, that you can write a function which doesn&#8217;t specify its return type, and in that case the type defaults to int. In early C, the void keyword and associated type did not exist. &#8230; <a title=\"[Solved] What are the differences between: main(){}, int main(){} and int main(void){} [duplicate]\" class=\"read-more\" href=\"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/\" aria-label=\"More on [Solved] What are the differences between: main(){}, int main(){} and int main(void){} [duplicate]\">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,409],"class_list":["post-18906","post","type-post","status-publish","format-standard","hentry","category-solved","tag-c","tag-program-entry-point"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Solved] What are the differences between: main(){}, int main(){} and int main(void){} [duplicate] - 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-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Solved] What are the differences between: main(){}, int main(){} and int main(void){} [duplicate] - JassWeb\" \/>\n<meta property=\"og:description\" content=\"[ad_1] Your first example\u3000uses a feature inherited from the outdated dialect of C which predated the first ANSI(1989) and ISO(1990) standard: namely, that you can write a function which doesn&#8217;t specify its return type, and in that case the type defaults to int. In early C, the void keyword and associated type did not exist. ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/\" \/>\n<meta property=\"og:site_name\" content=\"JassWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-02T02:49:07+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=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/\"},\"author\":{\"name\":\"Kirat\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\"},\"headline\":\"[Solved] What are the differences between: main(){}, int main(){} and int main(void){} [duplicate]\",\"datePublished\":\"2022-11-02T02:49:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/\"},\"wordCount\":1068,\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"keywords\":[\"c++\",\"program-entry-point\"],\"articleSection\":[\"Solved\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/\",\"url\":\"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/\",\"name\":\"[Solved] What are the differences between: main(){}, int main(){} and int main(void){} [duplicate] - JassWeb\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#website\"},\"datePublished\":\"2022-11-02T02:49:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jassweb.com\/solved\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Solved] What are the differences between: main(){}, int main(){} and int main(void){} [duplicate]\"}]},{\"@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\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775798750\",\"contentUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775798750\",\"caption\":\"Kirat\"},\"sameAs\":[\"http:\/\/jassweb.com\"],\"url\":\"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Solved] What are the differences between: main(){}, int main(){} and int main(void){} [duplicate] - 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-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/","og_locale":"en_US","og_type":"article","og_title":"[Solved] What are the differences between: main(){}, int main(){} and int main(void){} [duplicate] - JassWeb","og_description":"[ad_1] Your first example\u3000uses a feature inherited from the outdated dialect of C which predated the first ANSI(1989) and ISO(1990) standard: namely, that you can write a function which doesn&#8217;t specify its return type, and in that case the type defaults to int. In early C, the void keyword and associated type did not exist. ... Read more","og_url":"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/","og_site_name":"JassWeb","article_published_time":"2022-11-02T02:49:07+00:00","author":"Kirat","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirat","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/#article","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/"},"author":{"name":"Kirat","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31"},"headline":"[Solved] What are the differences between: main(){}, int main(){} and int main(void){} [duplicate]","datePublished":"2022-11-02T02:49:07+00:00","mainEntityOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/"},"wordCount":1068,"publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"keywords":["c++","program-entry-point"],"articleSection":["Solved"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/","url":"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/","name":"[Solved] What are the differences between: main(){}, int main(){} and int main(void){} [duplicate] - JassWeb","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/#website"},"datePublished":"2022-11-02T02:49:07+00:00","breadcrumb":{"@id":"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jassweb.com\/solved\/solved-what-are-the-differences-between-main-int-main-and-int-mainvoid-duplicate\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jassweb.com\/solved\/"},{"@type":"ListItem","position":2,"name":"[Solved] What are the differences between: main(){}, int main(){} and int main(void){} [duplicate]"}]},{"@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\/#\/schema\/person\/image\/","url":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775798750","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1775798750","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\/18906","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=18906"}],"version-history":[{"count":0,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/18906\/revisions"}],"wp:attachment":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/media?parent=18906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/categories?post=18906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/tags?post=18906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}