{"id":81014,"date":"2021-06-24T09:00:43","date_gmt":"2021-06-24T03:30:43","guid":{"rendered":"https:\/\/techvidvan.com\/tutorials\/?p=81014"},"modified":"2021-06-24T09:00:43","modified_gmt":"2021-06-24T03:30:43","slug":"data-types-in-cpp","status":"publish","type":"post","link":"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/","title":{"rendered":"Data Types in C++"},"content":{"rendered":"<p>Every programming language has a set of different data types. In this article, we will learn about data types in C++.<\/p>\n<h3>What are data types?<\/h3>\n<p>A data type tells a variable the kind and size of data it can store. When we declare a variable, the compiler allocates memory for it on the basis of its data type.<\/p>\n<p>In C++, there are three broad categories of data types namely,<\/p>\n<ul>\n<li>Fundamental data types<\/li>\n<li>Derived data types<\/li>\n<li>User-defined data types<\/li>\n<\/ul>\n<p>We will mainly cover fundamental data types in this article.<\/p>\n<h3>Fundamental Data Types in C++<\/h3>\n<p>Fundamental (also called Primary or Primitive) data types are the basic built-in or predefined data types that we can directly use in our programs.<\/p>\n<p>These are of the following types:<\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400\">Data Type<\/span><\/td>\n<td><span style=\"font-weight: 400\">Keyword<\/span><\/td>\n<td><span style=\"font-weight: 400\">Size (in Bytes)<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Integer<\/span><\/td>\n<td><span style=\"font-weight: 400\">int<\/span><\/td>\n<td><span style=\"font-weight: 400\">4<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Character<\/span><\/td>\n<td><span style=\"font-weight: 400\">char<\/span><\/td>\n<td><span style=\"font-weight: 400\">1<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Floating Point<\/span><\/td>\n<td><span style=\"font-weight: 400\">float<\/span><\/td>\n<td><span style=\"font-weight: 400\">4<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Double Floating Point<\/span><\/td>\n<td><span style=\"font-weight: 400\">double<\/span><\/td>\n<td><span style=\"font-weight: 400\">8<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Boolean<\/span><\/td>\n<td><span style=\"font-weight: 400\">bool<\/span><\/td>\n<td><span style=\"font-weight: 400\">1<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Void<\/span><\/td>\n<td><span style=\"font-weight: 400\">void<\/span><\/td>\n<td><span style=\"font-weight: 400\">0<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">Wide Character<\/span><\/td>\n<td><span style=\"font-weight: 400\">wchar_t<\/span><\/td>\n<td><span style=\"font-weight: 400\">2 or 4<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>1. Integer: C++ int<\/h4>\n<p>In C++, int keyword is used for integer data type. It is generally 4 bytes in size ranging from -2147483648 to 2147483647.<\/p>\n<p><strong>For Example:<\/strong><\/p>\n<p>int age = 18;<\/p>\n<h4>2. Character: C++ char<\/h4>\n<p>Characters are represented using the char keyword in C++. It requires 1 byte of memory space. Its range is from -128 to 127 or 0 to 255.<\/p>\n<p>While declaring a character variable, we need to enclose the character within single quotes (\u2018 \u2019). For example,<br \/>\nchar answer = \u2018y\u2019;<\/p>\n<h4>3. Floating Point: C++ float<\/h4>\n<p>We use float to represent floating point (decimal and exponential) values in C++. It is also known as single-precision floating point data type. float data type requires 4 bytes of memory space.<\/p>\n<p><strong>For Example:<\/strong><\/p>\n<p>float area = 34.65;<\/p>\n<h4>4. Double Floating Point: C++ double<\/h4>\n<p>In C++, we use both float and double to store floating point numbers. But, double has twice the precision of float and its size is 8 bytes. Hence, it is also called double-precision floating point data type.<\/p>\n<p><strong>For Example:<\/strong><\/p>\n<p>double volume = 127.4935;<br \/>\ndouble value = 25E11; \/\/Exponential 25E9 = 25 * 10^11<\/p>\n<h4>5. Boolean: C++ bool<\/h4>\n<p>We use bool to store boolean values, which means they can either be true or false. Size of bool is 1 byte.<\/p>\n<p><strong>For Example:<\/strong><\/p>\n<p>bool condition = true;<\/p>\n<h4>6. Void: C++ void<\/h4>\n<p>Void means no value. We use void for representing absence of data or valueless entities. It is usually used with functions that do not return any value.<\/p>\n<h4>7. Wide Character: C++ wchar_t<\/h4>\n<p>Wide character data type also represents characters. We use it for characters that require more than 8 bits. Its size is usually 2 or 4 bytes.<\/p>\n<p><strong>For Example:<\/strong><\/p>\n<p>wchart_t var = L&#8217;\u05dd&#8217;; \/\/var = 1501<\/p>\n<h3>sizeof() operator in C++<\/h3>\n<p>To determine the size of a data type or a variable, we can use sizeof() operator.<\/p>\n<p><strong>Example to show the use of sizeof() operator<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#include &lt;iostream&gt;\nusing namespace std;\n\nint main() {\n  int age = 10;\n  double distance = 40.5639;\n  char answer = 'n';\n  bool condition = false;\n\n  \/\/displaying size of declared variables\n  cout&lt;&lt;\"size of variable age = \"&lt;&lt;sizeof(age)&lt;&lt;endl;\n  cout&lt;&lt;\"size of variable distance = \"&lt;&lt;sizeof(distance)&lt;&lt;endl;\n  cout&lt;&lt;\"size of variable answer = \"&lt;&lt;sizeof(answer)&lt;&lt;endl;\n  cout&lt;&lt;\"size of variable condition = \"&lt;&lt;sizeof(condition)&lt;&lt;endl;\n\n  \/\/displaying size of data types\n  cout&lt;&lt;\"size of data type float = \"&lt;&lt;sizeof(float)&lt;&lt;endl;\n  cout&lt;&lt;\"size of data type wchar_t = \"&lt;&lt;sizeof(wchar_t);\n\n  return 0;\n}\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">size of variable age = 4<br \/>\nSize of variable distance = 8<br \/>\nsize of variable answer = 1<br \/>\nsize of variable condition = 1<br \/>\nsize of data type float = 4<br \/>\nsize of data type wchar_t = 4<\/div>\n<h3>Data type Modifiers<\/h3>\n<p>We can modify some of the fundamental data types using modifiers with them. C++ offers 4 modifiers:<\/p>\n<p>1. signed<\/p>\n<p>2. unsigned<\/p>\n<p>3. short<\/p>\n<p>4. long<\/p>\n<p><strong>Here\u2019s a list of C++ modified data types.<\/strong><\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>Data type<\/strong><\/td>\n<td><strong>Size (in Bytes)<\/strong><\/td>\n<td><strong>Description<\/strong><\/td>\n<td><strong>Example<\/strong><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">signed int \/ int<\/span><\/td>\n<td><span style=\"font-weight: 400\">4<\/span><\/td>\n<td><span style=\"font-weight: 400\">Stores integers<\/span><\/td>\n<td><span style=\"font-weight: 400\">signed int n = -40;<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">unsigned int<\/span><\/td>\n<td><span style=\"font-weight: 400\">4<\/span><\/td>\n<td><span style=\"font-weight: 400\">Stores 0 and positive integers<\/span><\/td>\n<td><span style=\"font-weight: 400\">unsigned int n = 40;<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">short \/ signed short<\/span><\/td>\n<td><span style=\"font-weight: 400\">2<\/span><\/td>\n<td><span style=\"font-weight: 400\">Equivalent to <\/span><span style=\"font-weight: 400\">short int <\/span><span style=\"font-weight: 400\">or <\/span><span style=\"font-weight: 400\">signed short int, <\/span><span style=\"font-weight: 400\">stores small integers ranging from <\/span><span style=\"font-weight: 400\">-32768 to 32767<\/span><\/td>\n<td><span style=\"font-weight: 400\">short n = -2;<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">unsigned short<\/span><\/td>\n<td><span style=\"font-weight: 400\">2<\/span><\/td>\n<td><span style=\"font-weight: 400\">Equivalent to <\/span><span style=\"font-weight: 400\">unsigned<\/span> <span style=\"font-weight: 400\">short int, <\/span><span style=\"font-weight: 400\">stores 0 and small positive integers ranging from <\/span><span style=\"font-weight: 400\">0 to 65535<\/span><\/td>\n<td><span style=\"font-weight: 400\">unsigned short n = 2;<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">long\u00a0<\/span><\/td>\n<td><span style=\"font-weight: 400\">4<\/span><\/td>\n<td><span style=\"font-weight: 400\">Equivalent to <\/span><span style=\"font-weight: 400\">long int<\/span><span style=\"font-weight: 400\">, stores large integers<\/span><\/td>\n<td><span style=\"font-weight: 400\">long n = 4356;<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">unsigned long<\/span><\/td>\n<td><span style=\"font-weight: 400\">4<\/span><\/td>\n<td><span style=\"font-weight: 400\">Equivalent to <\/span><span style=\"font-weight: 400\">unsigned long int<\/span><span style=\"font-weight: 400\">, stores 0 and large positive integers<\/span><\/td>\n<td><span style=\"font-weight: 400\">unsigned long n = 562;<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">long long<\/span><\/td>\n<td><span style=\"font-weight: 400\">8<\/span><\/td>\n<td><span style=\"font-weight: 400\">Equivalent to <\/span><span style=\"font-weight: 400\">long long int<\/span><span style=\"font-weight: 400\">, stores very large integers<\/span><\/td>\n<td><span style=\"font-weight: 400\">long long n = -243568;<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">unsigned long long<\/span><\/td>\n<td><span style=\"font-weight: 400\">8<\/span><\/td>\n<td><span style=\"font-weight: 400\">Equivalent to <\/span><span style=\"font-weight: 400\">unsigned long long int<\/span><span style=\"font-weight: 400\">, stores 0 and very large positive integers<\/span><\/td>\n<td><span style=\"font-weight: 400\">unsigned long long n = 12459;<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">long double<\/span><\/td>\n<td><span style=\"font-weight: 400\">12<\/span><\/td>\n<td><span style=\"font-weight: 400\">Stores large floating-point values<\/span><\/td>\n<td><span style=\"font-weight: 400\">long double n = 432.6781;<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">signed char \/ char<\/span><\/td>\n<td><span style=\"font-weight: 400\">1<\/span><\/td>\n<td><span style=\"font-weight: 400\">Stores characters ranging from -128 to 127<\/span><\/td>\n<td><span style=\"font-weight: 400\">signed char ch = \u2018b\u2019;<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400\">unsigned char<\/span><\/td>\n<td><span style=\"font-weight: 400\">1<\/span><\/td>\n<td><span style=\"font-weight: 400\">Stores characters ranging from 0 to 255<\/span><\/td>\n<td><span style=\"font-weight: 400\">unsigned char ch = \u2018g\u2019;<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Derived Data Types in C++<\/h3>\n<p>Data types that are derived from fundamental data types are called derived data types. These are of four types in C++ namely, Function, Array, Pointer and Reference.<\/p>\n<h3>User-defined Data Types in C++<\/h3>\n<p>We, as users, can define data types. These data types defined by the user are referred to as user-defined data types. Class, Structure, Union, Enumeration and Typedef defined data type belong to this category.<\/p>\n<h4>typedef defined data type<\/h4>\n<p>With keyword typedef, we can give a C++ data type a new name.<\/p>\n<p><strong>Syntax:<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">typedef type newname;<\/pre>\n<p><strong>Example of typedef<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">#include &lt;iostream&gt;\nusing namespace std;\n\ntypedef int integer;\t\t\/\/we can use integer in place of int\n\nint main() {\n  integer total = 100;\n  cout&lt;&lt;total;\n  return 0;\n}\n<\/pre>\n<h4>Output<\/h4>\n<div class=\"code-output\">100<\/div>\n<p>We have covered Derived and User-defined data types in detail in later articles.<\/p>\n<h3>Summary<\/h3>\n<p>Data types are an essential part of any programming language. Data type declares the type and size of data a variable can store. In C++, data types are broadly classified into fundamental, derived and user-defined data types.<\/p>\n<p>From this article, we learnt fundamental data types in detail. These fundamental data types can be modified using Modifiers in C++.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every programming language has a set of different data types. In this article, we will learn about data types in C++. What are data types? A data type tells a variable the kind and&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":81376,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3405],"tags":[3511,3512,3615,3616],"class_list":["post-81014","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpp","tag-data-types-in-c","tag-derived-data-types-in-c","tag-fundamental-data-types-in-c","tag-user-defined-data-types-in-c"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Data Types in C++ - TechVidvan<\/title>\n<meta name=\"description\" content=\"Every programming language has a set of different data types. In this article, we will learn about data types in C++ with examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Data Types in C++ - TechVidvan\" \/>\n<meta property=\"og:description\" content=\"Every programming language has a set of different data types. In this article, we will learn about data types in C++ with examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/\" \/>\n<meta property=\"og:site_name\" content=\"TechVidvan\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TechVidvan\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-24T03:30:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/06\/Data-Types-in-C.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"TechVidvan Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:site\" content=\"@vidvantech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TechVidvan Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Data Types in C++ - TechVidvan","description":"Every programming language has a set of different data types. In this article, we will learn about data types in C++ with examples.","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:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/","og_locale":"en_US","og_type":"article","og_title":"Data Types in C++ - TechVidvan","og_description":"Every programming language has a set of different data types. In this article, we will learn about data types in C++ with examples.","og_url":"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/","og_site_name":"TechVidvan","article_publisher":"https:\/\/www.facebook.com\/TechVidvan\/","article_published_time":"2021-06-24T03:30:43+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/06\/Data-Types-in-C.jpg","type":"image\/jpeg"}],"author":"TechVidvan Team","twitter_card":"summary_large_image","twitter_creator":"@vidvantech","twitter_site":"@vidvantech","twitter_misc":{"Written by":"TechVidvan Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/#article","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/"},"author":{"name":"TechVidvan Team","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22"},"headline":"Data Types in C++","datePublished":"2021-06-24T03:30:43+00:00","mainEntityOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/"},"wordCount":817,"commentCount":0,"publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/06\/Data-Types-in-C.jpg","keywords":["Data Types in C","Derived data types in C","Fundamental Data types in C","User-defined data types in C++"],"articleSection":["C++ Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/","url":"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/","name":"Data Types in C++ - TechVidvan","isPartOf":{"@id":"https:\/\/techvidvan.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/#primaryimage"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/#primaryimage"},"thumbnailUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/06\/Data-Types-in-C.jpg","datePublished":"2021-06-24T03:30:43+00:00","description":"Every programming language has a set of different data types. In this article, we will learn about data types in C++ with examples.","breadcrumb":{"@id":"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/#primaryimage","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/06\/Data-Types-in-C.jpg","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2021\/06\/Data-Types-in-C.jpg","width":1200,"height":628,"caption":"Data Types in C++"},{"@type":"BreadcrumbList","@id":"https:\/\/techvidvan.com\/tutorials\/data-types-in-cpp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techvidvan.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"Data Types in C++"}]},{"@type":"WebSite","@id":"https:\/\/techvidvan.com\/tutorials\/#website","url":"https:\/\/techvidvan.com\/tutorials\/","name":"TechVidvan Blogs","description":"","publisher":{"@id":"https:\/\/techvidvan.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techvidvan.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techvidvan.com\/tutorials\/#organization","name":"TechVidvan","url":"https:\/\/techvidvan.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","contentUrl":"https:\/\/techvidvan.com\/tutorials\/wp-content\/uploads\/2024\/03\/techvidvan-logo-200x50-1.webp","width":200,"height":50,"caption":"TechVidvan"},"image":{"@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TechVidvan\/","https:\/\/x.com\/vidvantech"]},{"@type":"Person","@id":"https:\/\/techvidvan.com\/tutorials\/#\/schema\/person\/e9c26e74dd3d87421f7ada9433b8cd22","name":"TechVidvan Team","description":"The TechVidvan Team delivers practical, beginner-friendly tutorials on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our experts are here to help you upskill and excel in today\u2019s tech industry."}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/81014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/comments?post=81014"}],"version-history":[{"count":0,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/posts\/81014\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media\/81376"}],"wp:attachment":[{"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/media?parent=81014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/categories?post=81014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techvidvan.com\/tutorials\/wp-json\/wp\/v2\/tags?post=81014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}