{"id":329,"date":"2022-12-03T03:47:04","date_gmt":"2022-12-03T03:47:04","guid":{"rendered":"https:\/\/jassweb.com\/new22\/solved-how-to-access-array-of-pointer-to-structure-closed\/"},"modified":"2022-12-03T03:47:04","modified_gmt":"2022-12-03T03:47:04","slug":"solved-how-to-access-array-of-pointer-to-structure-closed-2","status":"publish","type":"post","link":"https:\/\/jassweb.com\/solved\/solved-how-to-access-array-of-pointer-to-structure-closed-2\/","title":{"rendered":"[Solved] How to access array of pointer to structure [closed]"},"content":{"rendered":"<h2> Introduction <\/h2>\n<p>[ad_1]<\/p>\n<p>When working with data structures, it is often necessary to access an array of pointers to structures. This can be a tricky task, as it requires knowledge of both the array and the structure. In this article, we will discuss how to access an array of pointers to structures, as well as some tips and tricks for making the process easier. We will also discuss some of the potential pitfalls that can arise when working with this type of data structure. By the end of this article, you should have a better understanding of how to access an array of pointers to structures.<\/p>\n<h2> Solution<\/h2>\n<p><\/p>\n<p>You can access an array of pointers to structures by using the arrow operator (->). For example, if you have an array of pointers to structures called &#8220;arr&#8221;, you can access the first element of the array like this:<\/p>\n<p>arr[0]->elementName<\/p>\n<p>Where &#8220;elementName&#8221; is the name of the element you want to access. <\/p>\n<p><\/p>\n<div class=\"entry-content\" itemprop=\"text\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1088640234840270\" crossorigin=\"anonymous\"><\/script><br \/>\n<script><\/p>\n<p><\/script><\/p>\n<p><\/p>\n<div id=\"answer-31730068\" class=\"answer js-answer accepted-answer js-accepted-answer\" data-answerid=\"31730068\" data-parentid=\"31729171\" data-score=\"0\" 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><code>constructArray<\/code> doesn\u2019t actually do anything relevant, set aside leaking memory. Same for <code>printArray<\/code>.<br \/>\nI guess you began to code in c++ not that long ago, the code you\u2019ve written does the following: <\/p>\n<pre><code>void constructArray (No *Number, int size) {\n  \/\/ allocates enough memory to store n=size pointers to No then constructs them\n  \/\/ stores the address of that memory in temp\n  No **temp = new No *[size];\n\n  \/\/ for each pointer to No *temp, *(temp+1), ..., *(temp+size-1)\n  for (int i = 0; i &lt; size; i++)\n  { \n    \/\/ allocates enough space to store a No, constructs a No, and assigns\n    \/\/ its address to *(temp+i)\n    temp[i] = new No;\n    \/\/ initializes the values of the newly allocated No\n    temp[i]-&gt;decimal = rand() % 1000;\n    temp[i]-&gt;binary = \"0\";\n    temp[i]-&gt;octal = \"0\";\n    temp[i]-&gt;hexadecimal = \"0\";\n  }\n  \/\/ discards temp, effectively leaking the memory allocated in this function\n}\n\nvoid printArray (No *Number, int size) {\n  \/\/ prints a string\n  cout &lt;&lt; \"Decimal\\t\" &lt;&lt; \"Binary\\t\\t\\t\" &lt;&lt; \"Octal\\t\\t\" &lt;&lt; \"Hexadecimal\" &lt;&lt; endl;\n  \/\/ allocates enough memory to store n=size pointers to No then constructs them\n  \/\/ stores the address of that memory in temp\n  No **temp = new No *[size];\n\n  \/\/ for each pointer to No *temp, *(temp+1), ..., *(temp+size-1)\n  for (int i = 0; i &lt; size; i++) {\n    \/\/ allocates enough space to store a No, constructs a No, and assigns\n    \/\/ its address to *(temp+i)\n    temp[i] = new No;\n    \/\/ prints the content of the newly allocated No\n    cout &lt;&lt; temp[i]-&gt;decimal &lt;&lt; \"\\t\"\n        &lt;&lt; temp[i]-&gt;binary &lt;&lt; \"\\t\\t\\t\"\n        &lt;&lt; temp[i]-&gt;octal &lt;&lt; \"\\t\\t\"\n        &lt;&lt; temp[i]-&gt;hexadecimal &lt;&lt; endl;\n  }\n  \/\/ discards temp, effectively leaking the memory allocated in this function\n}\n<\/code><\/pre>\n<p>There are several oddities and many things wrong with your code:<\/p>\n<ul>\n<li>\n<p>as melpomene stated in the comments, you\u2019re not using some parameters of your functions (sometimes, its actual useful to define unused parameters but not in this case)<\/p>\n<\/li>\n<li>\n<p>you forget to either return or delete what you have dynamically allocated in your function<\/p>\n<\/li>\n<li>\n<p>you make too many dynamic allocations (in particular in printArray where no dynamic allocation should be needed)<\/p>\n<\/li>\n<li>\n<p>you assign string literals to <code>char*<\/code>, you should either store them in <code>const char*<\/code> or manually allocate the memory (a string literal will be stored in the data segment, and the data segment shouldn\u2019t be mutable, that\u2019s why the standard forbids it) some compilers will accept it with a warning though, but it\u2019s not clean<\/p>\n<\/li>\n<li>\n<p>you use a pointer to pointer to <code>No<\/code> to dynamically allocate an array of <code>No<\/code>s<\/p>\n<\/li>\n<li>\n<p>you also uselessly split the strings in <code>std::cout<\/code> calls and delegate the initialization of a <code>No<\/code> to <code>constructArray<\/code>rather than to <code>No<\/code>\u2018s constructor<\/p>\n<\/li>\n<\/ul>\n<p>I think what you actually want to write is the following:<\/p>\n<pre><code>#include &lt;iostream&gt;\n#include &lt;ctime&gt;\n\nusing namespace std; \/\/ i usually avoid this\n\nstruct No {\n  \/\/ No constructor, each time you \"construct\" a No instance, this function will\n  \/\/ be called (the No() : var(value), ... syntax is called a member\n  \/\/ initializer list, it's specific to constructors)\n  No() : \n  decimal(rand() % 1000),\n  binary(\"0\"),\n  octal(\"0\"),\n  hexadecimal(\"0\")\n  {}\n\n  int decimal;\n  const char *binary;\n  const char *octal;\n  const char *hexadecimal;\n};\n\nvoid constructArray (No*&amp; arrayDestination, int size) {\n  \/\/ allocates enough memory for n=size No and constructs them\n  \/\/ then stores the address of this allocated memory in arrayDestination\n  arrayDestination = new No[size];\n  \/\/ NOTE: arrayDestination is a reference to a pointer to No, which means\n  \/\/       that you'll actually modfiy the parameter used by the caller\n  \/\/ in other words:\n  \/\/\n  \/\/ No* ptr = nullptr;\n  \/\/ constructArray(ptr, size);\n  \/\/\n  \/\/ will actually modify ptr, another way would be to return the pointer\n  \/\/ with the return value of constructArray\n\n  \/\/ no need to initialize the No allocated here, new[] already called the\n  \/\/ constructor\n}\n\nvoid printArray (No* array, int size) {\n  \/\/ no need to split the string here...\n  cout &lt;&lt; \"Decimal\\tBinary\\t\\t\\tOctal\\t\\tHexadecimal\" &lt;&lt; endl;\n  \/\/ don't reallocate an array, the array has always been constructed, why would\n  \/\/ you want another one? (plus an uninitialized one...)\n  for (int i = 0; i &lt; size; i++) {\n    \/\/ actually use the first parameter!\n    \/\/ NOTE: now, this isn't a reference (No* instead of No*&amp;) because we\n    \/\/       don't need to modify this parameter, the parameter is actually\n    \/\/       copied when we call the function\n    cout &lt;&lt; array[i].decimal &lt;&lt; \"\\t\"\n    &lt;&lt; array[i].binary &lt;&lt; \"\\t\\t\\t\"\n    &lt;&lt; array[i].octal &lt;&lt; \"\\t\\t\"\n    &lt;&lt; array[i].hexadecimal &lt;&lt; endl;\n  }\n}\n\nint main() {\n  \/\/ if you use rand, you should call srand first to initialize the random\n  \/\/ number generator (also note that rand is deprecated)\n  srand(time(nullptr));\n  \/\/ NOTE: time(nullptr) returns the current timestamp\n  \/\/       it's sometimes used as a pseudo-random \"seed\" to initialize a\n  \/\/       generator\n\n  \/\/ this will be a pointer to the first element of our \"arrray\"\n  No *array = nullptr;\n  \/\/ this instruction is valid and will give you an integer between 1 and 9\n  int size = (rand() % 9) + 1;\n  \/\/ now we call the corrected functions\n  constructArray(array, size);\n  printArray(array, size);\n  \/\/ you should actually release the array once you're finished using it\n  \/\/ the clean way would be to implement a \"releaseArray\" function, \n  \/\/ but i'm lazy, so i'll just do it here:\n  delete[] array;\n  \/\/ don't forget main returns an int! 0 is usually the code for \"nothing bad happened\"\n  return 0;\n}\n<\/code><\/pre>\n<p>Even better, replace the dynamically allocated array of <code>No<\/code> by a <code>std::vector&lt;No&gt;<\/code> and the <code>const char*<\/code> by <code>std::string<\/code> (if you want them to be mutable). That way you won\u2019t need a function to build\/release the array anymore.<\/p>\n<p>Edit: mmh it took me a bit too much time to post that<\/p>\n<\/div>\n<div class=\"mt24\"><\/div>\n<\/div>\n<p> <span class=\"d-none\" itemprop=\"commentCount\">0<\/span> <\/p>\n<\/div>\n<\/div>\n<p>solved How to access array of pointer to structure [closed] <\/p>\n<p><script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1088640234840270\" crossorigin=\"anonymous\"><\/script><br \/>\n<script><\/p>\n<p><\/script><\/div>\n<p>[ad_2]<\/p>\n<p>If you are looking for a solution to access an array of pointers to a structure, then you have come to the right place. In this article, we will discuss how to access an array of pointers to a structure in C programming language.<\/p>\n<p>A pointer is a variable that stores the address of another variable. An array of pointers is an array that stores the addresses of other variables. A structure is a collection of related data items that are grouped together under a single name. An array of pointers to a structure is an array that stores the addresses of structures.<\/p>\n<p>To access an array of pointers to a structure, we need to use the pointer operator (*). The pointer operator is used to access the value stored in the memory location pointed to by the pointer. The syntax for accessing an array of pointers to a structure is as follows:<\/p>\n<pre><code>struct_name *ptr[size];\n\nptr[index]->member_name;\n<\/code><\/pre>\n<p>Here, <code>struct_name<\/code> is the name of the structure, <code>ptr<\/code> is the array of pointers to the structure, <code>size<\/code> is the size of the array, <code>index<\/code> is the index of the array, and <code>member_name<\/code> is the name of the member of the structure.<\/p>\n<p>For example, if we have a structure called <code>Student<\/code> with members <code>name<\/code> and <code>age<\/code>, then we can access the <code>name<\/code> member of the structure at index <code>i<\/code> of the array of pointers to the structure as follows:<\/p>\n<pre><code>Student *ptr[10];\n\nptr[i]->name;\n<\/code><\/pre>\n<p>This will access the <code>name<\/code> member of the structure at index <code>i<\/code> of the array of pointers to the structure.<\/p>\n<p>In conclusion, we have discussed how to access an array of pointers to a structure in C programming language. We have seen that we need to use the pointer operator (*) to access the value stored in the memory location pointed to by the pointer. We have also seen an example of how to access the <code>name<\/code> member of the structure at index <code>i<\/code> of the array of pointers to the structure.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction [ad_1] When working with data structures, it is often necessary to access an array of pointers to structures. This can be a tricky task, as it requires knowledge of both the array and the structure. In this article, we will discuss how to access an array of pointers to structures, as well as some &#8230; <a title=\"[Solved] How to access array of pointer to structure [closed]\" class=\"read-more\" href=\"https:\/\/jassweb.com\/solved\/solved-how-to-access-array-of-pointer-to-structure-closed-2\/\" aria-label=\"More on [Solved] How to access array of pointer to structure [closed]\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[320],"tags":[361,324,712,458],"class_list":["post-329","post","type-post","status-publish","format-standard","hentry","category-solved","tag-arrays","tag-c","tag-pointers","tag-struct"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[Solved] How to access array of pointer to structure [closed] - 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-how-to-access-array-of-pointer-to-structure-closed-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Solved] How to access array of pointer to structure [closed] - JassWeb\" \/>\n<meta property=\"og:description\" content=\"Introduction [ad_1] When working with data structures, it is often necessary to access an array of pointers to structures. This can be a tricky task, as it requires knowledge of both the array and the structure. In this article, we will discuss how to access an array of pointers to structures, as well as some ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jassweb.com\/solved\/solved-how-to-access-array-of-pointer-to-structure-closed-2\/\" \/>\n<meta property=\"og:site_name\" content=\"JassWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-03T03:47:04+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=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-how-to-access-array-of-pointer-to-structure-closed-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-how-to-access-array-of-pointer-to-structure-closed-2\\\/\"},\"author\":{\"name\":\"Kirat\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#\\\/schema\\\/person\\\/65c9c7b7958150c0dc8371fa35dd7c31\"},\"headline\":\"[Solved] How to access array of pointer to structure [closed]\",\"datePublished\":\"2022-12-03T03:47:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-how-to-access-array-of-pointer-to-structure-closed-2\\\/\"},\"wordCount\":739,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#organization\"},\"keywords\":[\"arrays\",\"c++\",\"pointers\",\"struct\"],\"articleSection\":[\"Solved\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-how-to-access-array-of-pointer-to-structure-closed-2\\\/\",\"url\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-how-to-access-array-of-pointer-to-structure-closed-2\\\/\",\"name\":\"[Solved] How to access array of pointer to structure [closed] - JassWeb\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/#website\"},\"datePublished\":\"2022-12-03T03:47:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-how-to-access-array-of-pointer-to-structure-closed-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-how-to-access-array-of-pointer-to-structure-closed-2\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/solved-how-to-access-array-of-pointer-to-structure-closed-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Solved] How to access array of pointer to structure [closed]\"}]},{\"@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=1777008400\",\"url\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/wp-content\\\/litespeed\\\/avatar\\\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777008400\",\"contentUrl\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/wp-content\\\/litespeed\\\/avatar\\\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777008400\",\"caption\":\"Kirat\"},\"sameAs\":[\"http:\\\/\\\/jassweb.com\"],\"url\":\"https:\\\/\\\/jassweb.com\\\/solved\\\/author\\\/jaspritsinghghumangmail-com\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Solved] How to access array of pointer to structure [closed] - 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-how-to-access-array-of-pointer-to-structure-closed-2\/","og_locale":"en_US","og_type":"article","og_title":"[Solved] How to access array of pointer to structure [closed] - JassWeb","og_description":"Introduction [ad_1] When working with data structures, it is often necessary to access an array of pointers to structures. This can be a tricky task, as it requires knowledge of both the array and the structure. In this article, we will discuss how to access an array of pointers to structures, as well as some ... Read more","og_url":"https:\/\/jassweb.com\/solved\/solved-how-to-access-array-of-pointer-to-structure-closed-2\/","og_site_name":"JassWeb","article_published_time":"2022-12-03T03:47:04+00:00","author":"Kirat","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirat","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jassweb.com\/solved\/solved-how-to-access-array-of-pointer-to-structure-closed-2\/#article","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-access-array-of-pointer-to-structure-closed-2\/"},"author":{"name":"Kirat","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31"},"headline":"[Solved] How to access array of pointer to structure [closed]","datePublished":"2022-12-03T03:47:04+00:00","mainEntityOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-access-array-of-pointer-to-structure-closed-2\/"},"wordCount":739,"commentCount":0,"publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"keywords":["arrays","c++","pointers","struct"],"articleSection":["Solved"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jassweb.com\/solved\/solved-how-to-access-array-of-pointer-to-structure-closed-2\/","url":"https:\/\/jassweb.com\/solved\/solved-how-to-access-array-of-pointer-to-structure-closed-2\/","name":"[Solved] How to access array of pointer to structure [closed] - JassWeb","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/#website"},"datePublished":"2022-12-03T03:47:04+00:00","breadcrumb":{"@id":"https:\/\/jassweb.com\/solved\/solved-how-to-access-array-of-pointer-to-structure-closed-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jassweb.com\/solved\/solved-how-to-access-array-of-pointer-to-structure-closed-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jassweb.com\/solved\/solved-how-to-access-array-of-pointer-to-structure-closed-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jassweb.com\/solved\/"},{"@type":"ListItem","position":2,"name":"[Solved] How to access array of pointer to structure [closed]"}]},{"@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=1777008400","url":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777008400","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1777008400","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\/329","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=329"}],"version-history":[{"count":0,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/329\/revisions"}],"wp:attachment":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/media?parent=329"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/categories?post=329"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/tags?post=329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}